https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35177

            Bug ID: 35177
           Summary: StripWhitespaceChars can break/depends on how data is
                    copied
 Change sponsored?: ---
           Product: Koha
           Version: 23.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Cataloging
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

Created attachment 157991
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157991&action=edit
Highlighted text

This refers to bug 30358 The enhancement generally works system wide but it
depends on how data is copied to the clipboard.

To confirm it works:
1. Enable the system preference to strip white spaces.
2. Find a biblio with an item that has a barcode.
3. Highlight the barcode starting from the end of the barcode to the first
character and release the mouse button.
4. Copy the highlighted barcode to the clipboard and paste somewhere in Koha.
See there are no white spaces in front of the barcode.

To see it break:
1. Repeat the steps but highlight the barcode from the end of the barcode but
allow the cursor to travel beyond the first digit of the barcode before
releasing the mouse button. The screen will show the highlight only includes
the barcode, but in reality additional white spaces are included.
2.Copy this "highlight" and paste it somewhere in Koha.
3. See that white spaces are included despite the system preference being
enabled.

Very often when highlighting data to copy to the clipboard, the "highlight" or
mouse movement incorporates more than the visible data in an attempt to make
sure everything is highlighted.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to