Pressing "Esc" in main window should minimize, not try to quit.

Bug #105082 reported by Olivier Cortès
4
Affects Status Importance Assigned to Milestone
gstm (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

Binary package hint: gstm

When GSTM main window is shown and active, pressing "Esc" key shows a dialog "are you sure you want to quit (this will close all tunnels) ?". Based on the fact that gstm acts "like" a daemon (it should be always running in background to keep tunnels active), I suggest remapping "Esc" to minimize() instead of quit() or destroy(). This won't prevent quit to happen when user press the window manager shortcut (Alt-F4 in default config), and will IMHO improve usability ("Esc" is a shortcut to minimize in other apps like gajim, gaim, quodlibet and more).

This is in Feisty, last upgraded today.

Related branches

Olivier Cortès (olive)
description: updated
Revision history for this message
Olivier Cortès (olive) wrote :

This bug is still present in Gutsy beta.

Revision history for this message
Trochee (trochee) wrote :

This is a feature request, so perhaps the maintainers could mark it as "Wishlist" but I would vote for this change.

Changed in gstm:
status: New → Confirmed
Ryan Niebur (ryan52)
Changed in gstm:
assignee: nobody → ryan52
status: Confirmed → In Progress
Changed in gstm:
importance: Undecided → Wishlist
Revision history for this message
Ryan Niebur (ryan52) wrote :

will work on this later on.

Changed in gstm:
assignee: ryan52 → nobody
status: In Progress → Confirmed
Revision history for this message
Mattias Eriksson (snaggen) wrote :

Here is a patch I use that makes it minimize instead of quit. To quit you must select quit in the tray menu

Revision history for this message
Trochee (trochee) wrote :

On reflection, other userspace daemon-like programs (workrave and twitux and pidgin are good examples) all minimize on alt-F4 instead of exiting the daemon (there's options to quit as well, but the standard close leaves it running in the tray).

I vote for Mattias' patch here, which I believe has the right behavior.

Revision history for this message
Mattias Eriksson (snaggen) wrote :

I created a gstm project in launchpad to be able to fix small issues I had. This issue and some others are included in this branch.
https://code.launchpad.net/~snaggen/gstm/gstm.dev

Revision history for this message
Tarnay Kálmán (tarnay-kalman) wrote :

still present in lucid

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.