Bug 457505

Summary: Jittery tabs
Product: [Plasma] Breeze Reporter: pkfbcedkrz <pkfbcedkrz>
Component: gtk themeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: agrinev98, alanas.00, nate, uhhadd
Priority: NOR    
Version First Reported In: 5.25.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: https://invent.kde.org/plasma/breeze-gtk/-/commit/ac47aade444054451f21cec478022decfd42b7cf

Description pkfbcedkrz 2022-08-05 04:15:33 UTC
SUMMARY
***
Tabs are 'jittery' on xfce4-terminal, mate-terminal, thunar and many other gtk3 apps. To recreate, open multiple tabs, then switch between them using Control+PageUp/Control+PageDown. The tabs will change in horizontal size slightly sometimes when toggling between them.

The problem is with lines 2787-2790 in gtk-3.0/gtk.css, which are currently used to address the following issue:
https://invent.kde.org/plasma/breeze-gtk/-/merge_requests/49#note_422893

Removing these lines breaks that issue, but fixes this one.
***


STEPS TO REPRODUCE
1.  Using xfce4-terminal, mate-terminal, thunar, mousepad, or other, open mutiple tabs
2. Switch between them using Control+PageUp/Control+PageDown

OBSERVED RESULT
The tabs will change in horizontal size slightly sometimes when toggling between them.

EXPECTED RESULT
The tab width should remain static.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.25.4
(available in About System)
KDE Plasma Version: 5.25.4
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Distro: Arch Linux