Created attachment 154962 [details] a screenshot demonstrating the problem SUMMARY Icons in the sidebar to the left are too big when screen scaling is enabled. See the attached screenshot for how it looks with a scaling factor of 2. SOFTWARE/OS VERSIONS Operating System: Debian GNU/Linux KDE Plasma Version: 5.26.4 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 6.0.0-6-amd64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Xeon® CPU E3-1505M v5 @ 2.80GHz Memory: 31,2 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics P530 Manufacturer: LENOVO Product Name: 20ENCTO1WW System Version: ThinkPad P50
There is no problem here. Change the setting via (or search "sidebar" in the configure dialog, search bar at the top): Configure Kate -> Behaviour -> Sidebars
I think it is a bug if an application does not properly handle scaling by default. Are you saying that each time I switch between a screen with 1x scaling and a screen with 2x scaling (i.e., several times a day, as I plug in external screens and unplug them again), I should also change the Kate settings? That's clearly not a proper solution. Just imagine having to adjust scaling by hand in every single application, that's clearly not how scaling is supposed to work.
Also note that the icons are scaled twice as much as they should be (rather than being unscaled, which is what one would expect for such hard-coded pixel values). I don't know how that happens, but the icon size is currently set to 32 pixels and the actual size is around 64 pixels.
Then please explain what is the issue. Your screenshot as I see it, looks 100% ok. Perhaps record a video demonstrating the difference/problem.
The screen shot for me looks like expected, too. The icons on the left are per default larger then e.g. on the bottom and for me they scale like they should.
A few days ago, before the last update and before I used scaling, the icons on the left had the same size as the ones at the bottom. That is the default behavior I would expect. But I guess I got fooled by the fact that I did a system update and set up scaling basically at the same time. Is having a separate size for these sidebar icons a recent(-ish) change? I can confirm that they indeed scale with the display scaling. Thanks for pointing that out! So this is a different bug than I thought -- I would say it is rather strange that these icons have a different default size than all the others. I doubt I will not be the only one who will see these icons and assume that this must be a bug since they look out-of-place and this there is no clear reason for them to be that big. But this is definitely much more a matter of opinion than the display scaling issue I thought I was seeing.
The left icons have per default no text, we make them larger to be better clickable and as you see one can still tune this like on personally wants it, therefore I consider this is fine.
> Is having a separate size for these sidebar icons a recent(-ish) change? 6 months old, part of 22.08 release. You can change the size or switch to old behaviour from the place I mentioned in my first comment
Changing the setting works for me, thanks! :)