Bug 489237 - Edit Mode: Panel custom height, extends beyond screen by default. If resized to be smaller disappears from screen making it inaccessible.
Summary: Edit Mode: Panel custom height, extends beyond screen by default. If resized ...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.1.0
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 13:45 UTC by Taha Ahmad
Modified: 2024-07-22 19:04 UTC (History)
2 users (show)

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


Attachments
Small area where the panel can be accessed only in edit mode (922.03 KB, image/png)
2024-06-26 13:45 UTC, Taha Ahmad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Taha Ahmad 2024-06-26 13:45:24 UTC
Created attachment 171016 [details]
Small area where the panel can be accessed only in edit mode

SUMMARY
In Edit Mode, I tried to resize a vertical panel using the custom height option. At first it extended beyond the screen's height. After trying to resize it to be smaller, it kicked me out of edit mode and now the main panel is no longer visible as it is outside of the screen's boundary. You can still enter edit mode and there is a slight area where you can click to bring up the panel edit popup and change height option back to fill screen. Still shouldn't be happening at all.

STEPS TO REPRODUCE
1. Go into edit mode
2. Change Orientation of Panel to be vertical
3. Choose custom height

SOFTWARE/OS VERSIONS
Linux Kernel: 6.9.6-arch1-1
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Comment 1 Nate Graham 2024-06-26 16:25:48 UTC
Yeah we should cap the panel thickness to prevent this from being possible, maybe to half the screen height/width (even that is pretty crazy IMO). We already cap the minimum thickness, so doing it for the maximum too makes sense.
Comment 2 Nate Graham 2024-06-27 15:10:21 UTC
Looks like I mis-diagnosed this. Indeed the panel thickness is already limited to half the relevant screen dimension.

Can you reproduce the originally-reported issue? If so, can you attach a screen recording that shows it happening?
Comment 3 Taha Ahmad 2024-06-27 20:54:22 UTC
Since the time I got the bug last time I have restarted my system once, haven't updated plasma yet. But I can no longer reproduce the bug, If I try to the change the height of the vertical panel with custom it defaults to half my screen length. 

What I did do in between that might have fixed this was that I installed the entire plasma and plasma-meta package group from the arch repos, while previously I was using the minimal install version. If one of the packages did end up fixing this, it should be included as a dependency for the minimal install as well so bugs like this can be avoided by people who don't want the entire Plasma suite installed.
Comment 4 Nate Graham 2024-07-22 19:04:48 UTC
It sounds like you got a bad install the first time around, and reinstalling fixed it. There aren't any separate packages that need to be installed for this to work properly. Regardless, glad it's fixed now.