After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 509080 - Recent files wrong direction when in RTL with latin file names
Recent files wrong direction when in RTL with latin file names
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Class: GtkRecent
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Djihed Afifi
General Totem maintainer(s)
Depends on: 349541
Blocks: Arabic
 
 
Reported: 2008-01-13 04:27 UTC by Djihed Afifi
Modified: 2014-03-30 14:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix. (937 bytes, patch)
2008-01-13 04:28 UTC, Djihed Afifi
rejected Details | Review
It's not a problem with various RTL files names (25.00 KB, image/png)
2008-01-13 11:40 UTC, Djihed Afifi
  Details

Description Djihed Afifi 2008-01-13 04:27:10 UTC
Same as bug #509073 but for totem.

Will attach a fix...
Comment 1 Djihed Afifi 2008-01-13 04:28:25 UTC
Created attachment 102714 [details] [review]
Fix.

By adding an RLM character.
Comment 2 Bastien Nocera 2008-01-13 10:31:11 UTC
Wouldn't that break filenames appearing in arabic? It seems to me that it would. Moving to GTK+ as there should be a function to handle that in the recent files framework.
Comment 3 Djihed Afifi 2008-01-13 11:40:13 UTC
Created attachment 102722 [details]
It's not a problem with various RTL files names

Bastien, au contraire, the behaviour was always right when file names were RTL, and introducing an RLM does not affect this.

Also, I think this is a totem bug. It constructs shortcuts by prepending numbers, so I don't know what in GTK+ could fix this.
Comment 4 Djihed Afifi 2008-01-16 21:14:52 UTC
Bastien, how would this be solved in GTK+? 

If it can be, then it would be wonderful to do that once and for all.
Comment 5 Emmanuele Bassi (:ebassi) 2008-04-14 13:54:02 UTC
(In reply to comment #4)
> Bastien, how would this be solved in GTK+? 

it can apparently be solved by:
- totem (and other applications) switching to GtkRecentChooserMenu and not reimplementing a widget;
- somebody writing an inline widget and including it into gtk+.

if applications developers decide to implement a new widget there's not much gtk+ can do about it; language directionality support should be added to every widget - it's not something that gtk+ magically gets by the mere fact of being gtk+.

for the inlined widget, and the related usability discussion, see bug 349541.
Comment 6 Matthias Clasen 2009-11-27 20:38:58 UTC
Comment on attachment 102714 [details] [review]
Fix.

reflecting ebassis comment in patch status
Comment 7 Christian Persch 2009-11-27 21:09:23 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Bastien, how would this be solved in GTK+? 
> 
> it can apparently be solved by:
> - totem (and other applications) switching to GtkRecentChooserMenu and not
> reimplementing a widget;

That wouldn't fix totem, since gtkrecentchoosermenu gets it wrong too. Just create a file named "X.txt" replacing X with א (U+05D0), open it in gedit, then try testrecentchoosermenu.
Comment 8 Paolo Borelli 2014-03-30 14:49:28 UTC
We do not have a recents in the menu anymore