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 578558 - Add "Close Window" MenuItem and Ctrl+W accel
Add "Close Window" MenuItem and Ctrl+W accel
Status: RESOLVED OBSOLETE
Product: empathy
Classification: Core
Component: Contact List
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: empathy-maint
empathy-maint
Depends on: 599158
Blocks:
 
 
Reported: 2009-04-09 23:17 UTC by Alexander “weej” Jones
Modified: 2018-12-27 19:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (2.69 KB, patch)
2009-04-09 23:22 UTC, Alexander “weej” Jones
reviewed Details | Review

Description Alexander “weej” Jones 2009-04-09 23:17:50 UTC
Nuff said
Comment 1 Alexander “weej” Jones 2009-04-09 23:22:56 UTC
Created attachment 132432 [details] [review]
Patch
Comment 2 Xavier Claessens 2009-04-10 08:00:50 UTC
ctr-w is used to close tabs usually, the main window don't have tabs. You already have ESC to close the main window.

Adding "Close" and "Quit" in the menu seems confusing.

I don't know if it's a good idea, does anyone has an opinion here?
Comment 3 Pierre-Luc Beaudoin 2009-04-10 15:07:50 UTC
I think this has been pointed out in some general blog post on how to close windows / shortcuts in Gnome.  IMHO, every application window should be closable with ctrl+w if it doesn't quit the app.  That how things work on MacOS: you can close any window by pressing ctrl+w and and you can ctrl+q at any time too, quitting the application.

May be this could be renamed Hide Contact List in the menu.
Comment 4 Alexander “weej” Jones 2009-04-10 15:27:22 UTC
OK I had to argue the same thing with Gossip a few years back.

Basically, we're already one better here in that we title the contact list correctly as "Contact List".

But we still have this stupidly named "Chat" menu, for which the only menu item that makes sense to be under such a label is "New Conversation".

Regardless, if we keep it as is, maybe it does make sense to rename Quit to "Quit Empathy" and rename Close to "Close Contact List"? I'm not sure how you overload the labels on stock items though.
Comment 5 Guillaume Desmottes 2009-04-21 16:15:38 UTC
Matthew: any advice about this issue?
Comment 6 Sumana Harihareswara 2009-10-30 02:33:21 UTC
http://library.gnome.org/devel/hig-book/stable/input-keyboard.html.en#standard-shortcuts says that Ctrl+W is usually Close The Current Document.
Comment 7 Guillaume Desmottes 2009-11-02 12:43:55 UTC
After lot of discussion, we agreed that it could make sense to consider the contact list as a kind of document and so having a "Close" button could make sense.
But to implement it properly, we should first untight the contact-list and status-icon which are too connected atm.

This is also needed to implement bug #599158 properly.
Comment 8 Guillaume Desmottes 2009-11-02 12:47:52 UTC
Review of attachment 132432 [details] [review]:

This patch is outdated and should be redone properly once we have done the needed internal refactoring.
Comment 9 Jean-François Fortin Tam 2012-08-08 21:23:01 UTC
Hi Guillaume, I think the refactoring has been done ;) this patch should be forward-ported or marked obsolete.
Comment 10 GNOME Infrastructure Team 2018-05-22 13:25:16 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/empathy/issues/58.