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 152803 - HIG violation by the title bar (modification indicator)
HIG violation by the title bar (modification indicator)
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
git master
Other Linux
: High minor
: ---
Assigned To: Gedit maintainers
gedit QA volunteers
Depends on:
Blocks:
 
 
Reported: 2004-09-16 11:13 UTC by John Spray
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to make window/tab titles HIG compliant (1.05 KB, patch)
2004-09-16 11:16 UTC, John Spray
none Details | Review

Description John Spray 2004-09-16 11:13:34 UTC
HIG 2.0 says:

"When a document has pending changes, insert an asterisk (*) at the beginning of
the window title. For example, *Unsaved Drawing, *AnnualReport."

gedit at present has an appended asterisk in the tab title, and a translated
"(modified)" appended in the window title.
Comment 1 John Spray 2004-09-16 11:16:52 UTC
Created attachment 31609 [details] [review]
Patch to make window/tab titles HIG compliant

Both the window and tab titles are now ("*%s",docname)
Comment 2 Paolo Borelli 2004-09-16 11:33:45 UTC
I think that a better fix would be to add a function to gedit_document.c (say
gedit_document_get_title_with_attributes, but feel free to come up with a better
name) which returns a string with the filename in utf8, the asterisk if needed
and [RO] appended if the doc is readonly. Such a func should be used both for
the window title and for the tab.

see also bug #149553
Comment 3 John Spray 2004-09-18 20:27:13 UTC
I don't think it's going to be possible to bring this functionality into one
common function, due to the [RO] vs (readonly) issue that we discussed.  Having
put this to the usability mailing list[1], I think the best way forward is:
-For the moment, apply the trivial patch to move the asterisks to the beginning
of the filename in window and tab titles
-Change the "(readonly)" to "(Read only)" in the window title
-Replace the obscure "[RO]" in the tab title with a nautilus-style lock emblem
on the document icon in the tab title area, as suggested by Marcus Hammer in [2]

1. http://lists.gnome.org/archives/usability/2004-September/msg00058.html
2. http://kunstradio.at/TEMP/mockupgedit.png
Comment 4 Paolo Maggi 2004-11-09 17:34:15 UTC
Fixed in CVS HEAD