https://bugs.kde.org/show_bug.cgi?id=431673

            Bug ID: 431673
           Summary: Desktop frozen with large clipboard text: history at
                    mouse position (when the Klipper tray icon menu works
                    normal)Desktop frozen with large clipboard text
                    history at cursor, tray icon menu works normal
           Product: klipper
           Version: 5.20.5
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: plasma-widget
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 134918
  --> https://bugs.kde.org/attachment.cgi?id=134918&action=edit
Klipper history file

SUMMARY

Full desktop will frozen ~30 sec if you use attached clipboard history
(~/.local/share/klipper/history2.lst).

STEPS TO REPRODUCE
1. Switch off Klipper
2. Overwrite your own history file with the attached file (I suggest a backup
first your own history).
3. Switch on Klipper
4. Set a hotkey in Klipper settings: "Open Klipper at Mouse Position"
5. Press hotkey


OBSERVED RESULT
The desktop will be frozen ~ 30 sec (only mouse cursor can be move)
Does Klipper tries to calculate history window size on large, multiple lines of
text??

EXPECTED RESULT
Works without freezing as click on Klipper systray icon
Possible solutions:
- Not calculate full-text size. Calculate only with the first x chars.
- Fixed-size of the showed text. E.g. 20 char length (configurable?)
- Fixed-size of the history window. E.g. 150px. (configurable?) - I prefer this
solution

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon user
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to