Bug 2289 - Cannot exit Frysk
Summary: Cannot exit Frysk
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Sami Wagiaalla
URL:
Keywords:
Depends on:
Blocks: 2248
  Show dependency treegraph
 
Reported: 2006-02-06 21:52 UTC by Andrew Cagney
Modified: 2006-11-30 16:32 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-02-06 21:52:39 UTC
See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179873

Description of problem:
I'm assuming that if I could access a file menu, there would be a quit option.
However, I can't, and closing the main window (by clicking on the 'x'), does not
exit the program either.

This message appears on startup:

WARNING: /root/.frysk/.settings not found. Will be created on program exit

But, of course, since the program won't cleanly exit, I never get a .settings
file created.

Version-Release number of selected component (if applicable):

frysk-0.0.1.2005.12.14.15.12-0.EL4.3

How reproducible:
100%

Steps to Reproduce:
1.  Install frsyk
2.  as a user, sudo frysk
3.  try to exit
  
Actual results:
"File" is highlighted in blue, but no menu contents appear.

Expected results:


Additional info:
Comment 1 Phil Muldoon 2006-02-06 22:07:07 UTC
Frysk actually runs resident in the taskbar. Do you see the blue frysk icon in
your taskbar? There should be a right click menu bar there with Quit and Console?
Comment 2 Andrew Cagney 2006-02-06 22:59:26 UTC
BTW https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179873#c2

Actually, not being able to force a quit from the screen[sic:window]'s menu is a
bug; it's pretty easy to loose the egg-tray-icon from a desktop (I've done it
:-), and without that quitting is impossible.

I'm going to open a bug in the upstreem bugzilla
http://sources.redhat.com/frysk/bugs/
Comment 3 Phil Muldoon 2006-02-07 21:49:08 UTC
It follows most GNOME/GTK models. For example you can only kill GAIM from the
applet, not the application. As the gui is launched from the applet, I'm not
sure if it is "okay" for the launchee to kill the launcher.

(In reply to comment #2)
> BTW https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=179873#c2
> 
> Actually, not being able to force a quit from the screen[sic:window]'s menu is a
> bug; it's pretty easy to loose the egg-tray-icon from a desktop (I've done it
> :-), and without that quitting is impossible.
> 
> I'm going to open a bug in the upstreem bugzilla
> http://sources.redhat.com/frysk/bugs/

Comment 4 Phil Muldoon 2006-02-21 21:32:00 UTC
Should we add an "Exit" option in the File menu that kills Frysk then, from the
taskbar as well? Trivial to implement. Will wait on feedback
Comment 5 Phil Muldoon 2006-11-30 16:32:01 UTC
2006-08-17  Phil Muldoon  <pmuldoon@redhat.com>

        * glade/procpop.glade: Remove dangling quit menu handler
2006-08-08  Sami Wagiaalla  <swagiaal@redhat.com>

        * sessions/DebugProcess.java: Added listining to programObserver.
        * glade/procpop.glade: Added program observer menu item.
        Added quit menu item.
        * druid/CreateFryskSessionDruid.java (filterDatainSession): changed
        getProcessies() to getProcessies().iterator.
        * SessionManagerGui.java: used Gui.quitFrysk instead
        of Gtk.mainQuit().