| Summary: | Clipboard pop up window too tall, lacks border and first item obscured by buttons | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Luke Horwell <code> |
| Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.1 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Clipboard pop up in 6.1.5 vs 6.2.1
Border and resizing workaround using window rules |
||
|
Description
Luke Horwell
2024-10-16 20:37:15 UTC
There was an intentional change.
Note the dialog is resizable (meta right click) but not via normal controls. That's a valid bug to take on. It also needs a minimum size setting.
There is a shadow. It's the same as the plasma popup (which was the intention).
>. Otherwise, I would be interested to patch it back locally,
Sure, see plasma-workspace/klipper . You can probably find the relevant commit and revert it. You're on your own with that.
Created attachment 174921 [details]
Clipboard pop up in 6.1.5 vs 6.2.1
Attached is a screenshot comparison that didn't upload earlier for some reason.
Thanks for the tips! Resizing with meta + right click helps a lot. I already patch some other KDE packages, so I may embark on my own on that.
Created attachment 174922 [details]
Border and resizing workaround using window rules
As you've pointed out it's a dialog, this makes sense. The shadow is tiny, but this might be misexpectations since my Breeze Window Decoration setting is set to "Large" for shadows, although this is also the case for any plasma thing that pops up. (possible bug?)
It is possible to workaround by adding a window rule ("Clipboard Popup" title) with "No titlebar and frame" = "No", and then set a window-specific override in the window decorations to add a tiny border and hide the title bar.
So yeah, these were intentional changes. There were code sharing reasons as well as UX reasons (same UX, better for multiline text and images) so I don't see us going back, sorry. Not being resizable via the corners is a reasonable request, but can you open a new bug report requesting just that? No problem. In the end, I wrote my own "open at mouse cursor" replacement to complement Klipper: https://github.com/lah7/clipqture |