[dolphin] [Bug 446659] New: [RTL] Add possibility of string translation in DolphinView::requestStatusBarText() when one item is selected

Zayed Al-Saidi bugzilla_noreply at kde.org
Wed Dec 8 03:40:04 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=446659

            Bug ID: 446659
           Summary: [RTL] Add possibility of string translation in
                    DolphinView::requestStatusBarText() when one item is
                    selected
           Product: dolphin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: bars: status
          Assignee: dolphin-bugs-null at kde.org
          Reporter: zayed.alsaidi at gmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 144336
  --> https://bugs.kde.org/attachment.cgi?id=144336&action=edit
status bar at right postion in RTL mode

SUMMARY
***
As status bar doesn't support RTL mode (i.e force every thing to be in RTL
mode), I face issue when I have mixed files name (English name and Arabic
name). The status bar shows English name at the left and Arabic name at the
right. This is confusing. Currently status bar in RTL mode (dolphin -reverse) 
showing every thing the right except in one case which when the selected item
is just one file. I achieve that by putting  RIGHT-TO-LEFT MARK U+200F in the
translation file for all the cases in DolphinView::emitStatusBarText
(https://lxr.kde.org/source/system/dolphin/src/views/dolphinview.cpp#0594).
That works fine except for case when one item is selected which handled in
DolphinView::requestStatusBarText(). That why I suggest to add possibility to
translate that case.

Note: this solution is just a workaround for the real issue that status bar
should be aware of interface language. Now this issue is happening in the LTR
language like English but with swapped direction. 

***


STEPS TO REPRODUCE
1.  create two files one with name: اختبار.txt   and second with test.text
2. open Dolphin in reverse mode by dolphin -reverse
3. select اختبار.txt file only and notice the status bar string position
4- select test.txt file only and notice the status bar string position

OBSERVED RESULT
status bar string is at left when test.txt  is selected only. 

EXPECTED RESULT
status bar string is at right whenاtest.txt  is selected only. 

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.11.0-40-generic (64-bit)
Graphics Platform: X11
Processors: 3 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 4.9 غ.بايت of RAM
Graphics Processor: llvmpipe

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list