Bug 501471 - Scrollbar appearing in menus with small height
Summary: Scrollbar appearing in menus with small height
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Application Menu (Kicker) widget (other bugs)
Version First Reported In: master
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-13 21:55 UTC by Artashes Gyoletsyan
Modified: 2025-05-22 15:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artashes Gyoletsyan 2025-03-13 21:55:15 UTC
SUMMARY

When hovering on a menu for the first time everything is okay, but as soon as you move mouse vertically to another menu, a vertical scrollbar appears in the opened submenu, no matter the size of it

STEPS TO REPRODUCE
1. Hover on a menu in Kicker
2. Move mouse vertically to another menu in vicinity

OBSERVED RESULT
See video - https://www.youtube.com/watch?v=t0vw6hPF0Ko
An unnecessary scrollbar, which appears in every submenu despite its size, and which also enlarges the submenu by a couple of pixels, so there is a small wiggle when scrolling

EXPECTED RESULT
No unnecessary scrollbar

SOFTWARE/OS VERSIONS
Linux: Arch 6.13.6
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Comment 1 Nate Graham 2025-05-21 16:31:13 UTC
I can't reproduce this on git master.

Does it still happen with the default Breeze plasma theme? Have you changed any global font settings?
Comment 2 Artashes Gyoletsyan 2025-05-21 16:45:52 UTC
Hi, (In reply to Nate Graham from comment #1)
> I can't reproduce this on git master.
> 
> Does it still happen with the default Breeze plasma theme? Have you changed
> any global font settings?

I have reinstalled my linux and plasma so I can't provide any new information (The bug is now gone).

If I recall correctly, the plasma theme didn't have any effect, however I have edited the .config/fontconfig/fonts.conf to overwrite fonts as follows (on my current install the bug doesn't show up with this config file)

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <alias>
  <family>sans</family>
  <prefer>
   <family>Noto Sans Armenian</family>
   <family>Noto Sans</family>
  </prefer>
  <family>serif</family>
  <prefer>
   <family>Noto Serif Armenian</family>
   <family>Noto Serif</family>
  </prefer>
 </alias>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

Sorry that I can't provide any more information