Bug 488538 - With a short screen, Notification about removing an applet is partially off screen while "Show Panel Configuration" is active
Summary: With a short screen, Notification about removing an applet is partially off s...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Icon widget (show other bugs)
Version: master
Platform: Neon Linux
: LO minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2024-06-15 14:18 UTC by cwo
Modified: 2024-07-24 14:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot showing notification partially off-screen (1.64 MB, image/png)
2024-06-15 14:18 UTC, cwo
Details
For comparison: Notification overlaps Add Widget interface (1.56 MB, image/png)
2024-06-17 18:46 UTC, cwo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cwo 2024-06-15 14:18:05 UTC
Created attachment 170529 [details]
screenshot showing notification partially off-screen

SUMMARY

Fresh Neon DevE install on a Thinkpad X260, fully updated. When I select "Show panel mode", them remove an applet, a notification appears informing me that an applet was removed, and allows me to undo the change. This notification is partially off-screen, as can be seen in the attached screenshot.

Display size is likely relevant here. The system has a 1920x1080 screen, set at 150% scale (default value set by Neon and/or KDE, not changed by me). I could not replicate it in a Neon DevE VM on my main laptop (VM display 1280x800, 100% scale, again the default settings). However, there is clearly enough space in principle to display the notification in full. (And even if there wasn't enough space, it might be better to not cut them off like this, but this is debatable)

STEPS TO REPRODUCE
1. Make sure there is a panel with a removable applet present
2. Right-click that panel, click "Show Panel Configuration"
3. Mouse over the applet, then click removed

OBSERVED RESULT

The top of the header of the resulting notification is cut off.

EXPECTED RESULT

The header of the resulting notification is completely visible.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.5.0-35generic
KDE Plasma Version: 6.1.80
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION

(ignore the "restart required" notification in the screenshot; I have replicated it after restarting the system)
Comment 1 Nate Graham 2024-06-17 17:42:58 UTC
Looks like it's trying successfully trying to dodge the panel settings dialog, but there simply isn't enough screen real estate. 1920x1080 at 150% scale makes the effective resolution only 1280 x720

We could reduce the amount of space it tries to allocate between itself and the dialog, but in principle this is always going to happen with a short screen. When you exit Edit Mode, there should be enough space again, at least.
Comment 2 cwo 2024-06-17 18:46:27 UTC
Created attachment 170575 [details]
For comparison: Notification overlaps Add Widget interface

Yes, that is what I figured as well. The question is whether it *should* successfully try to do so if there's not enough space.

If you place the tray to the left and have the "Add widget" interface open, a notification will just overlap it (it always takes the whole screen, so the only way to dodge it would be to the side). This is clearly worse than properly dodging if that can work, but it doesn't look too bad - see the attached screen shot. Feels more intentional than having it partially off screen.

(Short screen size is very well taken; maybe Plasma/Neon shouldn't suggest 150% by default on a 13" 1920x1080 screen under Wayland? There's a couple other points where it's just a bit too little space; System Settings with the Wireless & Network kcm doesn't quite fit the screen width-wise, for example).