[Bug 30248] New: Select2 elements randomly have small width
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Bug ID: 30248 Summary: Select2 elements randomly have small width Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: System Administration Assignee: koha-bugs@lists.koha-community.org Reporter: cbrannon@cdalibrary.org QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com I have seen random reports from some Koha users that the select2 elements will sometimes not show in the admin preferences. So far, this has been limited to Chrome, but not consistently. I have seen this on my own computer. Our test server will show the element correctly, but our production server will not. And when ByWater looks at the same element on the same server with the same version of browser, it looks fine. If I look at the same page in Firefox it looks fine. The element is there, but it has a defined width of 2.22222px. I am suspect of the changes made in bug 28611. I am suspecting that some computers load the page too fast, and the width is being set before there is any data in the element, and therefore extremely small. If I change the width in CSS to a fixed width, it shows and works properly. This is a difficult issue to replicate and figure out on my end. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Can you give an example of where Select2 is used in Admin preferences? I am only aware of the usage in Cataloguing (items, authorities and bibliographic records). Does the problem appear there as well? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Lisette Scheer <lisetteslatah@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lisetteslatah@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #2 from Lisette Scheer <lisetteslatah@gmail.com> --- (In reply to Katrin Fischer from comment #1)
Can you give an example of where Select2 is used in Admin preferences? I am only aware of the usage in Cataloguing (items, authorities and bibliographic records). Does the problem appear there as well?
The following sys prefs is where I see the issue, pretty consistently in the test server and occasionally in my production server. None of them appear to be select_2s but I might just be missing it. ArticleRequestsMandatoryFields ArticleRequestsMandatoryFieldsItemOnly ArticleRequestsMandatoryFieldsRecordOnly BatchCheckoutsValidCategories MarkLostItemsAsReturned OPACHoldsIfAvailableAtPickupExceptions CoceProviders SocialNetworks OPACSuggestionMandatoryFields OPACSuggestionUnwantedFields AutoShareWithMana -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleonard@myacpl.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |oleonard@myacpl.org |ity.org | Component|System Administration |Templates -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Version|unspecified |master Summary|Select2 elements randomly |Multiple Select elements |have small width |randomly have small width --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- These use a different plugin: Multiple Select (https://multiple-select.wenzhixin.net.cn/). I don't see the described problem, so if someone is able to better isolate the conditions that cause it please let us know. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barbara.johnson@bedfordtx.g | |ov --- Comment #4 from Barbara Johnson <barbara.johnson@bedfordtx.gov> --- Created attachment 131725 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131725&action=edit advanced_search -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #5 from Barbara Johnson <barbara.johnson@bedfordtx.gov> --- I have encountered this as well when using Chrome. I've attached some examples examples from the koha-US demo site. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #6 from Barbara Johnson <barbara.johnson@bedfordtx.gov> --- Created attachment 131726 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131726&action=edit suggestions -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #7 from Barbara Johnson <barbara.johnson@bedfordtx.gov> --- Created attachment 131727 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131727&action=edit small_width -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #8 from Christopher Brannon <cbrannon@cdalibrary.org> --- (In reply to Owen Leonard from comment #3)
These use a different plugin: Multiple Select (https://multiple-select.wenzhixin.net.cn/).
I don't see the described problem, so if someone is able to better isolate the conditions that cause it please let us know.
Sorry for the confusion on the type of dropdown. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #9 from Christopher Brannon <cbrannon@cdalibrary.org> --- The issue seems to have died down. I am not seeing it at the moment while I have my CSS workaround removed. However, it seems to be limiting the width to 275px currently. This cuts off the full description in the dropdown when closed. I think some work needs to be done to determine the length of both the description and the contents and resize to the longest line so we can read everything. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 koha-US bug tracker <bugzilla@koha-us.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla@koha-us.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #10 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Christopher Brannon from comment #9)
However, it seems to be limiting the width to 275px currently. This cuts off the full description in the dropdown when closed.
Can you share an example? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 Manos PETRIDIS <egpetridis@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |egpetridis@yahoo.com --- Comment #11 from Manos PETRIDIS <egpetridis@yahoo.com> --- Encountered this very bug today, in CoceProviders drop-down list. Upgrading from 21.11.05-1 to 22.05.00-1 seems to have fixed it. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30248 --- Comment #12 from Christopher Brannon <cbrannon@cdalibrary.org> --- We've had our workaround disabled to compensate for this for a while. This may no longer be an issue. We are currently in 22.05. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org