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 737044 - gnome-user-docs sometimes uses <gui> or no tag when referring to default folders
gnome-user-docs sometimes uses <gui> or no tag when referring to default folders
Status: RESOLVED OBSOLETE
Product: gnome-user-docs
Classification: Core
Component: gnome-help
3.13.x
Other All
: Normal normal
: ---
Assigned To: Maintainers of Gnome user documentation
Maintainers of Gnome user documentation
winterdocs
Depends on:
Blocks:
 
 
Reported: 2014-09-20 20:43 UTC by Sebastian Rasmussen
Modified: 2018-03-26 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (17.81 KB, patch)
2014-09-20 20:44 UTC, Sebastian Rasmussen
reviewed Details | Review
Proposed patch. (4.03 KB, patch)
2014-09-27 20:54 UTC, Sebastian Rasmussen
none Details | Review

Description Sebastian Rasmussen 2014-09-20 20:43:24 UTC
When referring to the default folders in the user's Home folder, like Documents, Pictures, Music, Downloads, etc. the documentation ought to consistently use <file> tags. The attached patch aims to fix this and does wrapping where it can be done without affecting the entire file.
Comment 1 Sebastian Rasmussen 2014-09-20 20:44:29 UTC
Created attachment 286707 [details] [review]
Proposed patch.
Comment 2 David King 2014-09-22 13:52:15 UTC
Review of attachment 286707 [details] [review]:

The only problem here is that <file> is supposed to be for filenames, and "Home" is not a filename, but a label that is only that is only shown in the UI. Looking at the places sidebar (shared by Nautilus and GTK+), Recent, Home and Trash are UI labels which do not have directly-corresponding filenames, similar to Computer, Browse Network and Connect to Server. The XDG folders are shown as the filenames are found in the home directory, so if an XDG directory is renamed then the new name is shown in the places sidebar.

An awkward difference between Nautilus and GTK+ is that the user's home directory is shown as "Home" in the Nautilus path bar, but as "username" in the path bar of the GTK+ file chooser.
Comment 3 Sebastian Rasmussen 2014-09-27 20:41:57 UTC
While I see your point I'm not convinced it makes sense to make a difference between the two types of labels. From a users point of view they look the same in the UI so why isn't the documentation referring to them in the same way?

I'll create a new patch that adds <file> to the XDG folders and hope that this gains traction instead. :)
Comment 4 Sebastian Rasmussen 2014-09-27 20:54:05 UTC
Created attachment 287263 [details] [review]
Proposed patch.
Comment 5 Sebastian Rasmussen 2014-09-27 20:55:48 UTC
Ok, the new patch only changing the XDG-folders has been attached.

One last question though: now Home and Trash are sometimes referred to using <gui> and sometimes without any tag. Should they consistenly be using the <gui> tag? I think that's suitable but I'd like to hear your opinions before investing time in a patch.
Comment 6 Sebastian Rasmussen 2014-09-28 01:13:20 UTC
20:38 < sebras> kittykat: https://bugzilla.gnome.org/show_bug.cgi?id=737044 
                hm.. while I see amigadave's point I still think it is strange 
                that the documentation would treat some labels in the file 
                manager differently from the others.
20:39 < sebras> kittykat: how is a user supposed to know that Trash is not a 
                filename but Picture is a filename and why?
22:11 < kittykat> sebras: at the moment, I think that they should all be marked 
                  up as <file>, even though some aren't
22:16 < kittykat> I think about it more from a user point of view rather than a 
                  technically correct point of view

This seems to indicate that my initial patch was correct in some sense..? We need to reach consensus on this matter. I'm happy to provide patches either way. :)
Comment 7 Petr Kovar 2014-10-05 12:21:18 UTC
(In reply to comment #6)
> 20:38 < sebras> kittykat: https://bugzilla.gnome.org/show_bug.cgi?id=737044 
>                 hm.. while I see amigadave's point I still think it is strange 
>                 that the documentation would treat some labels in the file 
>                 manager differently from the others.
> 20:39 < sebras> kittykat: how is a user supposed to know that Trash is not a 
>                 filename but Picture is a filename and why?

Good question. Do we explain anywhere in Help that Trash is not a file name but a UI label? If we don't, then there is probably no point in trying to differentiate between Trash or Home, for example, and actual file names.
Comment 8 GNOME Infrastructure Team 2018-03-26 14:33:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-user-docs/issues/14.