Bug 505432 - Titlebar button placement does not mirror while using RTL language
Summary: Titlebar button placement does not mirror while using RTL language
Status: CONFIRMED
Alias: None
Product: Breeze
Classification: Plasma
Component: window decoration (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: rtl
Depends on:
Blocks:
 
Reported: 2025-06-10 14:22 UTC by Anas Mohammad Siddiq
Modified: 2025-06-10 14:45 UTC (History)
4 users (show)

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


Attachments
title bar mirrors when you change windows deco, only when you set your language to arabic (895.73 KB, video/webm)
2025-06-10 14:22 UTC, Anas Mohammad Siddiq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anas Mohammad Siddiq 2025-06-10 14:22:41 UTC
Created attachment 182145 [details]
title bar mirrors when you change windows deco, only when you set your language to arabic

SUMMARY
when you set a custom theme for windows decoration other than breeze (yes, includes plastic) the position of titlebar buttons mirror (on qt apps, gtk seems unaffected), trying to manually set the titlebar buttons will affect gtk apps, which isn't good

STEPS TO REPRODUCE
1. have the system language set to arabic
2. set plastic as a windows decoration (or anything other than breeze)
3. see for yourself, but wait there is more
4. gtk apps buttons are unaffected

OBSERVED RESULT
the titlebar buttons placement shouldn't mirror

EXPECTED RESULT
it mirrors

SOFTWARE/OS VERSIONS
Linux: fedora 42 kde edition
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-06-10 14:33:04 UTC
Titlebar buttons mirroring is intentional; we want everything to mirror! If GTK apps don't mirror as well, that's their problem and it's unfortunately not something we can fix.
Comment 2 Anas Mohammad Siddiq 2025-06-10 14:35:47 UTC
(In reply to Nate Graham from comment #1)
> Titlebar buttons mirroring is intentional; we want everything to mirror! If
> GTK apps don't mirror as well, that's their problem and it's unfortunately
> not something we can fix.

the problem is
it only mirrors when the deco isn't breeze, which can create confusion
Comment 3 Nate Graham 2025-06-10 14:37:42 UTC
So Breeze should mirror too!
Comment 4 Anas Mohammad Siddiq 2025-06-10 14:45:39 UTC
(In reply to Nate Graham from comment #3)
> So Breeze should mirror too!

well that's a possible fix to prevent confusion
or just not let it mirror, in windows, titlebar buttons are on the left when you have arabic language set, so breeze default is the correct placement