Created attachment 172241 [details] picofthebug Once i change the system language to arabic icons move to left side of the panel, tried with openSUSE, kde neon, now fedora. Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.3 KDE Frameworks Version: 6.4.0 Qt Version: 6.7.2 Kernel Version: 6.9.12-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland
Arabic is a right-to-left language, and the panel adapts to this by changing its orientation as well. If you prefer a different arrangement, you can reorder the icons by right-clicking the panel and selecting "Show panel configuration".
Ah sorry, I now see what you mean, the Icon-only task manager should be reversed as well. I apologize. You can configure this by right-clicking the task manager, selecting "Configure Icon Only Task Manager", clicking the behavior tab, and changing the bottom option. The system should probably automatically do this in RTL mode if it doesn't already. Did you install the system with Arabic language as the default, or did you first run it in English, then selected Arabic language as your user?
i tried every solution possible Configure Icon Only Task Manager swapping remove add new panel with out any lock. if i change task Manager left or right like in gnome its normal but if i make it up or down it become like this with free space at right. i install the system in English, then selected Arabic language. Thanks!
(In reply to 0773377 from comment #3) > if i change task Manager left or right like in gnome its normal but if i > make it up or down it become like this with free space at right. Can you be a bit more precise what you mean with "make it up or down"? Are you talking about a vertical panel?
sorry, yes the position of vertical panel.
(In reply to 0773377 from comment #5) > sorry, yes the position of vertical panel. Your screenshot shows a horizontal panel (and here selecting "New tasks appear to the right" should work. Can you show the bug on a vertical panel, so that I can better understand what exactly you mean?
Created attachment 172246 [details] left
Created attachment 172247 [details] bottom
(In reply to cwo from comment #6) > (In reply to 0773377 from comment #5) > > sorry, yes the position of vertical panel. > > Your screenshot shows a horizontal panel (and here selecting "New tasks > appear to the right" should work. Can you show the bug on a vertical panel, > so that I can better understand what exactly you mean? im sorry im trying my best here. I apologize. i added 2 pictures. Thank you so much for your help. really appreciate it.
Created attachment 172250 [details] RTL panel with icons on the right Thank you for the pictures. I'm still not quite sure what you want unfortunately - to my non-arabic eyes the vertical panel (i.e. "left" screenshot) looks good. If you're asking about the screenshot "bottom", try the following: 1) Set the task manager to "new tasks appear on the left" (right-click the task manager > Configure … > Behavior > ). This reverses the order of the icons, so that they are right-to-left. 2) Right-click the panel > Show panel configuration > Add spacer (this it the button in the header of the small window that shows up, the button with the two small rectangles and a black thing in between, next to the button with the + sign). A bit of the panel will now be empty and highlighted. You can move this area to the left of the task manager simply by dragging it. If I do that (with plasmashell manually set to RTL order as I use an English locale), I get the attached arrangement, which I think is what you want , but correct me if I didn't understand you yet.
Created attachment 172252 [details] problem fixed
(In reply to cwo from comment #10) > Created attachment 172250 [details] > RTL panel with icons on the right > > Thank you for the pictures. > > I'm still not quite sure what you want unfortunately - to my non-arabic eyes > the vertical panel (i.e. "left" screenshot) looks good. > > If you're asking about the screenshot "bottom", try the following: > > 1) Set the task manager to "new tasks appear on the left" (right-click the > task manager > Configure … > Behavior > ). This reverses the order of the > icons, so that they are right-to-left. > > 2) Right-click the panel > Show panel configuration > Add spacer (this it > the button in the header of the small window that shows up, the button with > the two small rectangles and a black thing in between, next to the button > with the + sign). A bit of the panel will now be empty and highlighted. You > can move this area to the left of the task manager simply by dragging it. > > If I do that (with plasmashell manually set to RTL order as I use an English > locale), I get the attached arrangement, which I think is what you want , > but correct me if I didn't understand you yet. Adding spacer fix the problem completely, evertything looks good. I would like to point out the ive tried kde 6 when it was released, i didnt have this problem at all. in past days ive tried opensuse, kde neon, fedora with the last kde plasma fresh install update and change it to arabic all of them have this proplem. Thank you your help :)
Good to know that you got it fixed. When you tried it before with Plasma 6, did you install it directly in Arabic or did you also install it first in English, then switch to Arabic?
(In reply to cwo from comment #13) > Good to know that you got it fixed. > > When you tried it before with Plasma 6, did you install it directly in > Arabic or did you also install it first in English, then switch to Arabic? install it first in English, then switch to Arabic.
OK, thanks for the information. I'm leaving this bug report open so that someone more familiar with how this part of the system is supposed to work can comment on whether there may be a regression here, or something that should be fixed.
With a panel in its default settings, I can reproduce the issue with `LANG=ar_OM plasmashell --replace` or `LANG=ar_AR plasmashell --replace. Basically, the Task Manager icons remain left-aligned when they should be right-aligned.
This appears to have been at least partially caused by https://invent.kde.org/plasma/plasma-desktop/-/commit/d1b33d1a9dc872e9a2af042152d6ab5ed2617e4e. There also seems to be a pre-existing bug in the layout direction calculation. I'm investigating.
Correction: LANGUAGE=ar_AR, not LANG=ar_AR
Found it. Patch incoming.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2421
Git commit bc603c59d7ca85dbbd3c688e773de096a3186cc3 by Nate Graham. Committed on 07/08/2024 at 16:46. Pushed by ngraham into branch 'master'. applets/taskmanager: fix task list RTL alignment LayoutMirroring needed to be enabled when needed here. FIXED-IN: 6.1.5 M +2 -0 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/bc603c59d7ca85dbbd3c688e773de096a3186cc3
Git commit 420930e11886c1902f94ed1b5c8d0a60f0c29543 by Nate Graham. Committed on 07/08/2024 at 17:19. Pushed by ngraham into branch 'Plasma/6.1'. applets/taskmanager: fix task list RTL alignment LayoutMirroring needed to be enabled when needed here. FIXED-IN: 6.1.5 (cherry picked from commit bc603c59d7ca85dbbd3c688e773de096a3186cc3) Co-authored-by: Nate Graham <nate@kde.org> M +2 -0 applets/taskmanager/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/420930e11886c1902f94ed1b5c8d0a60f0c29543