Bug 480408 - When panel is on left side of screen, using "Custom" height sometimes results in it being inappropriately anchored to the top of the screen
Summary: When panel is on left side of screen, using "Custom" height sometimes results...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.92.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-01-27 20:47 UTC by Darin Miller
Modified: 2025-01-16 02:13 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Miller 2024-01-27 20:47:10 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Enter Edit Mode
2. Select Panel Settings
3. Select Length -> Custom

OBSERVED RESULT
Bottom of Panel can be shortened, but top of panel refuse to move.  Also, the Length -> Custom option is now the default action and selecting other panel settings options is nearly impossible without a touchscreen as the panel settings menu auto hides when mouse pointer moves off of the resize bar.  Panel icons are also difficult to move without launching their respective function (thus dumping the user out of Edit mode).

EXPECTED RESULT
Panel should be resizable from top.  Panel settings menu should not auto hide until the panel setting icon is clicked or Edit mode is intentionally exited.  

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.92.90
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.5.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Manufacturer: Dell Inc.
Product Name: Inspiron 7559
System Version: 1.3.1

ADDITIONAL INFORMATION
Comment 1 Doug 2024-01-28 05:54:41 UTC
Do you have the panel set to "Top" by chance?  That would explain the bottom moving but not the top.  What widgets do you have on the panel you are trying to resize?

Either way there's definitely something wrong with the custom sizing of vertical panels.  I moved my top bar panel with Desktop Switcher, Window List, Global Menu, Systray, and Show Desktop and I can't custom resize it at all.  I also can't put it on the right side of the screen at all.  If I try it goes to the left side of the screen anyway.

I also have a dock like panel with Application Dashboard, Icons Only Task Manager, and Trash.  That one when put vertical can be resized, though it is not intuitive because the resizing arrows "handles" are hidden until I grab the outer edge of the panel and shrink it some.  This panel can be put on the right side.

Also, whatever "resizing overlay" that is being used can crash if the mouse cursor touches the actual panel.  It can be brought back by right clicking on the panel and clicking (ironically) "Exit Edit Mode"

Maybe this is multiple bugs?
Comment 2 Darin Miller 2024-01-28 15:46:28 UTC
The panel Alignment setting was Centered.  Today I  woke the PC and Plamsa had crashed and upon Plasma restart the panel now respects the location of the sizing set the day before.  Also, sizing the panel now respond resize events but the response animation is delayed and a bit "stuttery".

I also see the Panel crash when mouse cursor touches the Panel and once the custom Length is selected.  So, for now the user must customize other panel configs (i.e. widget locations and widget removal) prior to setting the length.
Comment 3 Nate Graham 2024-01-29 21:24:36 UTC
Please report one issue per bugzilla ticket, not multiple ones. Let's use this one for "Bottom of Panel can be shortened, but top of panel refuse to move". Can I ask you to submit new bug reports about the other issues you found? Thanks!
Comment 4 Nate Graham 2024-01-29 21:39:37 UTC
While testing, I was able to reproduce the issue once, but after moving the panel to another screen edge and back to the left, it's not happening anymore. Even after restarting plasmashell, it's no longer broken for me. :/
Comment 5 Nate Graham 2025-01-15 18:41:12 UTC
Now I can't reproduce this at all anymore on git master.

Can you still reproduce it in Plasma 6.2.5 or later, Darin?
Comment 6 Darin Miller 2025-01-16 02:13:35 UTC
This bug was fixed a few months ago. Apology for not closing the case sooner.