Created attachment 155527 [details]
A screenshot visualizing the issue, with English labels
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
Some menus appear on the left despite the layout set to RTL, here's an example from the system settings app.
STEPS TO REPRODUCE
1. Open the system settings
2. Navigate to `Startup` -> `Autostart`
3. Click `Add` button
Menu opens on the left, far from button's position
It should appear above the `Add` button.
Linux/KDE Plasma: Arch linux
(available in About System)
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Created attachment 155528 [details]
bug happening on KDE Neon
I can confirm that I have the same bug here on KDE Neon too (KDE 5.26.5, KDE Frameworks 5.102.0, Qt 5.15.8). It happens when system language is set to Arabic.
I am not sure on what could be the reason for this, though.
Can confirm, reproducible with `kcmshell5 kcm_autostart --reverse`.
Created attachment 155602 [details]
The bug doesn't show when using the command `kcmshell5 kcm_autostart --reverse`
(In reply to Nate Graham from comment #2)
> Can confirm, reproducible with `kcmshell5 kcm_autostart --reverse`.
I ran that command and it looks like the bug disappears!
It only appear when I manually navigate to the autostart compnent from system settings!
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3106
Git commit 1c6fa6237c817cb80d56df5c0a31d0ca18a23e5f by Nate Graham, on behalf of Thenujan Sandramohan.
Committed on 25/07/2023 at 18:02.
Pushed by ngraham into branch 'master'.
kcm/autostart: Fix reverse layout Menu popup position
Set the x value of popup menu to position it in reverse layout correctly.
M +1 -0 kcms/autostart/ui/main.qml