Bug 505489

Summary: Editing widget placement on a panel does not work properly with RTL language
Product: [Plasma] plasmashell Reporter: Anas Mohammad Siddiq <AnasSdiq>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: kdedev, nate, niccolo.venerandi
Priority: HI Keywords: rtl
Version First Reported In: 6.3.5   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.4
Sentry Crash Report:
Attachments: the funky reaction of the widgets

Description Anas Mohammad Siddiq 2025-06-11 19:55:41 UTC
Created attachment 182198 [details]
the funky reaction of the widgets

SUMMARY
trying to move a widget on a panel is weird and not accurate, and just..... just look at the attachment

STEPS TO REPRODUCE
1. go to edit mode
2. create a panel if you haven't already, or just do that on the current panel you have
3. try to move widgets

OBSERVED RESULT
it moves accurately, as intended

EXPECTED RESULT
every other widget "jumps" all over the panel

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

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-06-12 15:33:54 UTC
Can reproduce.
Comment 2 Anas Mohammad Siddiq 2025-06-12 20:06:36 UTC
(In reply to Nate Graham from comment #1)
> Can reproduce.

offtopic: glad you survived not being able to read arabic :D
Comment 3 Nate Graham 2025-06-13 15:21:26 UTC
I used `plasmashell --replace --reverse` to test. :) That shows the issue too.
Comment 4 Bug Janitor Service 2025-07-30 09:26:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3124
Comment 5 Nate Graham 2025-07-31 15:21:00 UTC
Git commit be926f1fe42b393afba32f483483cddfab92c594 by Nate Graham, on behalf of Niccolò Venerandi.
Committed on 31/07/2025 at 15:20.
Pushed by ngraham into branch 'master'.

Refactor panel widget editing UI for RTL

This should fix all issues regarding drag-and-dropping widgets in panel
edit mode for RTL languages.
FIXED-IN: 6.4.4

M  +4    -0    containments/panel/ConfigOverlay.qml
M  +6    -5    containments/panel/main.qml
M  +0    -1    toolboxes/paneltoolbox/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/be926f1fe42b393afba32f483483cddfab92c594
Comment 6 Nate Graham 2025-07-31 15:34:31 UTC
Git commit 8f1e163c6e6f10e59f8dcd3b9e3dc6c7e827b5da by Nate Graham.
Committed on 31/07/2025 at 15:21.
Pushed by ngraham into branch 'Plasma/6.4'.

Refactor panel widget editing UI for RTL

This should fix all issues regarding drag-and-dropping widgets in panel
edit mode for RTL languages.
FIXED-IN: 6.4.4


(cherry picked from commit be926f1fe42b393afba32f483483cddfab92c594)

cfa73938 Refactor panel widget editing UI for RTL

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +4    -0    containments/panel/contents/ui/ConfigOverlay.qml
M  +6    -5    containments/panel/contents/ui/main.qml
M  +0    -1    toolboxes/paneltoolbox/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/8f1e163c6e6f10e59f8dcd3b9e3dc6c7e827b5da
Comment 7 Anas Mohammad Siddiq 2025-07-31 19:09:20 UTC
Thx