Bug 464774 - Taskbar minimum height is too high (28 vs 20) with 3rd-party theme
Summary: Taskbar minimum height is too high (28 vs 20) with 3rd-party theme
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: git-stable-Plasma/5.26
Platform: Neon Linux
: NOR grave
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-24 22:27 UTC by Moritz
Modified: 2023-01-25 20:42 UTC (History)
3 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 Moritz 2023-01-24 22:27:37 UTC
Hi there,
I just updated to the newest neon testing and now my taskbar is large. I mean large for my small screen. It has a minimum height of 28 now and I can not further decrease it. Before the update I had it at 20 and it was way better for me. 

Please decrease the limit again to something like 20. 

Thanks!

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.0.9-060009-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics
Memory: 17.4 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82KC
System Version: Lenovo V14 G2 ALC
Comment 1 veggero 2023-01-25 14:21:24 UTC
Are you using a third party plasma theme?
Comment 2 Moritz 2023-01-25 16:52:23 UTC
Yes I do use Otto (https://store.kde.org/p/1358262/), but I used it before and there where no updates in the past month. 

Can a theme even set a limit there? I mean it does not look buggy, I can not set it lower.
Comment 3 Nate Graham 2023-01-25 18:12:38 UTC
The minimum height was recently changed to adjust itself to accommodate 3rd-party themes with margins or borders that require a thicker-than-average height to avoid looking broken. With that theme, the panel would look broken at any thickness under 28px. So this is expected, given the use of such a 3rd-party theme.
Comment 4 Moritz 2023-01-25 20:02:49 UTC
Is there any way to force disable this?
Comment 5 veggero 2023-01-25 20:04:06 UTC
(In reply to Moritz from comment #4)
> Is there any way to force disable this?

I'm afraid not
Comment 6 Nate Graham 2023-01-25 20:09:44 UTC
No because then the panel would look broken with that theme, and you would file a bug on that instead. :)
Comment 7 Moritz 2023-01-25 20:28:14 UTC
> No because then the panel would look broken with that theme, and you would file a bug on that instead. :)

Yes, users could do. I never made a bug report with theming issues, that should be reported to the theme creator.


How about an option in `plasmashellrc` that is only available when editing the file? 
Could look like this:
```
[PlasmaViews][Panel 3][Defaults]
thickness=28
ignoreMinThickness=1
``` 

It sounds minor, but acutally I feel kind of disturbed by the taskbar. I normally don't use it, only to check the clock and maybe do wifi settings. I'd love to use autohide, but that is bugged in some circumstances, I please you to add it this small feature.


Thanks!

(Commit: https://invent.kde.org/plasma/plasma-desktop/-/commit/0910a8b17095700fbed0a4fe1980d012336f6505, bug: https://bugs.kde.org/show_bug.cgi?id=461506).
Comment 8 veggero 2023-01-25 20:31:29 UTC
(In reply to Moritz from comment #7)
> How about an option in `plasmashellrc` that is only available when editing
> the file? 
> Could look like this:
> ```
> [PlasmaViews][Panel 3][Defaults]
> thickness=28
> ignoreMinThickness=1
> ``` 

I'll suggest another option, if you're willing to go edit configs; why not edit the theme panel-background.svg file (which you can find in ~/.local/share/plasma/desktoptheme/ottoorsimilar/widgets) to make sure the top and bottom components of the theme are up to 10px tall? you can do that simply by selecting the entire "rounded cube" in inkscape and scale it down until you find a better size.
Comment 9 Moritz 2023-01-25 20:42:01 UTC
Actually not a bad idea. The folder of the theme was different, but now I can finally make it small again. Thanks a lot @veggero. It was not the solution I wanted but it works, hopefully the next theme update does not break it again.

Oh no, it looks broken. 

(actually not, just kidding)


Thanks!!