Bug 460708

Summary: Panel edit mode toolbar becomes unusable when screen is in vertical orientation
Product: [Plasma] plasmashell Reporter: phrxmd <philipp.reichmuth>
Component: PanelAssignee: Niccolò Venerandi <niccolo>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version: 5.26.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Edit Mode Toolbar on vertical screen

Description phrxmd 2022-10-19 12:26:11 UTC
Created attachment 153029 [details]
Edit Mode Toolbar on vertical screen

SUMMARY
The panel edit mode toolbar can become unusable on vertical screens, because then the effective horizontal resolution becomes too low for all the UI elements that Plasma tries to fit into one line.

Plasma is built with screens with a minimum resolution in mind, but when the screen is in vertical orientation it can be narrower than that.

STEPS TO REPRODUCE
1. Have a screen configuration with a narrow screen (e.g. in vertical orientation)
2. Enter Edit Mode 

OBSERVED RESULT
UI elements in the toolbar overlap with each other and can become unusable.
See screenshot from a 2540x1440 screen in vertical orientation with 2x HiDPI scaling (effective width 720). 

It gets worse with labels in a "wordy" language like German.

EXPECTED RESULT
UI elements should use smarter placement, possibly in several lines.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221015
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.0-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20LDCTO1WW
System Version: ThinkPad X1 Yoga 3rd

ADDITIONAL INFORMATION
Comment 1 phrxmd 2022-10-19 12:34:23 UTC
The workaround is to flip the screen to horizontal, edit the toolbar and flip it back. But that's a bit clumsy.
Comment 2 Nate Graham 2022-10-19 17:16:21 UTC

*** This bug has been marked as a duplicate of bug 450892 ***