Bug 437044

Summary: Sometimes buttons that appear when we hover over entries of clipboard history are misplaced
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: ClipboardAssignee: Nate Graham <nate>
Status: RESOLVED FIXED    
Severity: normal CC: nate, skovalyov
Priority: HI Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.4
Attachments: screenshot

Description Patrick Silva 2021-05-13 13:01:00 UTC
Created attachment 138387 [details]
screenshot

SUMMARY
After copying several texts to clipboard, sometimes I see misplaced buttons
when I hover over an entry of clipboard history.

STEPS TO REPRODUCE
1. copy several texts to clipboard
2. click on Clipboard applet in system tray
3. hover over entries of clipboard history

OBSERVED RESULT
misplaced buttons, please see the attached screenshot

EXPECTED RESULT
buttons entirely inside highlighted entry

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2
Graphics Platform: Wayland
Comment 1 Nate Graham 2021-05-13 16:41:54 UTC
Ugh I was wondering when you would report this. :)

I'm aware and tried to fix it, but failed the first time around. I'll look again. Seems to happen only the first time plasmashell is launched, as restarting it clears up the issue for me until the next time I reboot.
Comment 2 Patrick Silva 2021-06-17 16:12:17 UTC
*** Bug 438810 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2021-07-25 21:22:39 UTC
Git commit 9250c5ade87bec2852c73c529ed7dc9283d1f069 by Nate Graham, on behalf of Eugene Popov.
Committed on 25/07/2021 at 21:22.
Pushed by ngraham into branch 'master'.

[applets/clipboard] Fix the alignment of delegate buttons

This commit fixes the alignment of the delegate buttons, which is sometimes
broken. As stated in the Qt docs, we should use AnchorChanges instead of
conditional bindings.
FIXED-IN: 5.22.4

M  +16   -2    applets/clipboard/contents/ui/ClipboardItemDelegate.qml

https://invent.kde.org/plasma/plasma-workspace/commit/9250c5ade87bec2852c73c529ed7dc9283d1f069
Comment 4 Nate Graham 2021-07-25 21:23:00 UTC
Git commit a136c4c65f632e50f4917c7370355e9fe1625a50 by Nate Graham, on behalf of Eugene Popov.
Committed on 25/07/2021 at 21:22.
Pushed by ngraham into branch 'Plasma/5.22'.

[applets/clipboard] Fix the alignment of delegate buttons

This commit fixes the alignment of the delegate buttons, which is sometimes
broken. As stated in the Qt docs, we should use AnchorChanges instead of
conditional bindings.
FIXED-IN: 5.22.4


(cherry picked from commit 9250c5ade87bec2852c73c529ed7dc9283d1f069)

M  +16   -2    applets/clipboard/contents/ui/ClipboardItemDelegate.qml

https://invent.kde.org/plasma/plasma-workspace/commit/a136c4c65f632e50f4917c7370355e9fe1625a50