https://bugs.kde.org/show_bug.cgi?id=525246
Bug ID: 525246
Summary: Notification timeout progress bar layout mirroring
creates an inverted/unnatural countdown behavior in
Arabic (RTL)
Classification: Plasma
Product: plasmashell
Version First 6.7.4
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Notifications
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 195804
--> https://bugs.kde.org/attachment.cgi?id=195804&action=edit
Video showing the issue.
In KDE Plasma 6, when the system layout is switched to the Arabic locale (RTL),
the countdown progress bar that indicates the timeout before a notification
disappears behaves in an unnatural and visually jarring way due to automatic
layout mirroring.
In the default English layout, the bar is anchored to the left edge and
shrinks/decreases towards the left. However, in the Arabic RTL layout, layout
mirroring flips this logic entirely: the bar anchors to the right edge and
shrinks towards the right. This creates an inverted visual countdown effect
that breaks UI consistency.
I have attached a video demonstrating this behavior.
STEPS TO REPRODUCE
1. Force the desktop shell into Arabic RTL by running:
LC_ALL=ar_EG.UTF-8 plasmashell --replace &
2. Trigger a standard notification:
notify-send "Event 1" "Started" && sleep 10 && notify-send "Event 2"
"Completed"
3. Observe the anchoring and shrinking direction of the timeout bar compared to
the English layout.
VISUAL COMPARISON (ASCII ART):
┌─────────────────────────────────────────────────────────────┐
│ DEFAULT ENGLISH BEHAVIOR (Anchored Left, Shrinks Left)
├─────────────────────────────────────────────────────────────┤
│ [Notification Content]
│
│ Full: [==============================================]
│ Decreasing: [==================================== ]
│ (The bar shrinks towards the LEFT, leaving space on right)
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ CURRENT ARABIC BUG (RTL - Anchored Right, Shrinks Right)
├─────────────────────────────────────────────────────────────┤
│ [Notification Content written in Arabic]
│
│ Full: [==============================================]
│ Decreasing: [ ====================================]
│ (The bar blindly mirrors, shrinking towards the RIGHT edge)
└─────────────────────────────────────────────────────────────┘
┌─────────────────────────────────────────────────────────────┐
│ EXPECTED CORRECT BEHAVIOR IN ARABIC (Anchored Left)
├─────────────────────────────────────────────────────────────┤
│ [Notification Content written in Arabic]
│
│ Full: [==============================================]
│ Decreasing: [==================================== ]
│ (The bar stays anchored left and shrinks towards the left)
└─────────────────────────────────────────────────────────────┘
OBSERVED RESULT
The progress bar automatically mirrors its layout direction under Arabic RTL,
anchoring to the right and shrinking towards the right edge, causing an
inverted visual experience.
EXPECTED RESULT
The countdown progress bar should behave consistently regardless of the locale.
In Arabic RTL, it should remain anchored to the left and shrink towards the
left, maintaining the same visual countdown animation as the LTR/English
layout. This can likely be achieved by setting `LayoutMirroring.enabled: false`
on the notification timeout progress bar component.
(Note: To restore the shell back to English, run: LC_ALL=en_US.UTF-8
plasmashell --replace &)
Syetem Information:
Operating System: Fedora Linux 46
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
Kernel Version: 7.3.0-0.rc®.260819gbd5f485f3f02.5.fc46.x86_64 (64-bit)
Graphics Platform: Wayland
--
You are receiving this mail because:
You are watching all bug changes.