Opened 15 years ago
Closed 9 years ago
#770 closed enhancement (fixed)
Close wxGUI on GRASS CLI exit
Reported by: | marisn | Owned by: | martinl |
---|---|---|---|
Priority: | minor | Milestone: | 7.0.4 |
Component: | wxGUI | Version: | 6.4.0 RCs |
Keywords: | init | Cc: | grass-dev@… |
CPU: | Unspecified | Platform: | Linux |
Description
When user exits from GRASS CLI (terminal), Init.sh should issue a close command to any remaining wxGUI processes.
See r39350 for ideas how it's done in gis.m.
Reported by Martin: http://lists.osgeo.org/pipermail/grass-dev/2009-September/046460.html
Change History (17)
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
comment:4 by , 11 years ago
Type: | defect → enhancement |
---|
I wouldn't consider this a bug. Reclassifying as enhancement wish.
follow-ups: 6 7 comment:5 by , 9 years ago
follow-ups: 9 10 comment:6 by , 9 years ago
Replying to wenzeslaus:
Please see and try trunk after r66917, r66918, r66920, and r66982 by martinl.
right, I didn't announce yet. I was able to test on Windows 7 (cmd), Debian unstable (bash). Any testing is highly welcome! I would like to backport it to relbr70 before 7.0.3RC1 (January 2016).
I also changed WinGRASS (currently only trunk, standalone installator) to start cmd minimized. I am not sure if it's good idea, it take some time when startup screen appears and user could have feeling that nothing happend (cmd is started minimized) and start GRASS several times. Starting cmd in normal mode is probably better idea in the sense that user has some information that GRASS is starting. On the other side minimized cmd is not so scary for most of Windows users ;-) What do you think?
follow-up: 12 comment:7 by , 9 years ago
Replying to wenzeslaus:
Please see and try trunk after r66917, r66918, r66920, and r66982 by martinl.
BTW, these commits enable to close CLI terminal (cmd) automatically when quiting GUI. The ticket reports other issue. To close GUI automaticaly (currently GUI just hangs and become unfunctional) when closing CLI terminal.
comment:8 by , 9 years ago
Milestone: | 6.4.4 → 7.0.3 |
---|
comment:9 by , 9 years ago
Replying to martinl:
Starting cmd in normal mode is probably better idea in the sense that user has some information that GRASS is starting. On the other side minimized cmd is not so scary for most of Windows users ;-) What do you think?
Launching <wxpython> GUI in the background, please wait...
this line is the important information already in cmd. I may prefer the the normal mode. windows users should be scared of windows, not of grass ... ;-)
follow-up: 11 comment:10 by , 9 years ago
Replying to martinl:
Replying to wenzeslaus:
Please see and try trunk after r66917, r66918, r66920, and r66982 by martinl.
right, I didn't announce yet. I was able to test on Windows 7 (cmd), Debian unstable (bash). Any testing is highly welcome! I would like to backport it to relbr70 before 7.0.3RC1 (January 2016).
I also changed WinGRASS (currently only trunk, standalone installator) to start cmd minimized. I am not sure if it's good idea, it take some time when startup screen appears and user could have feeling that nothing happend (cmd is started minimized) and start GRASS several times. Starting cmd in normal mode is probably better idea in the sense that user has some information that GRASS is starting. On the other side minimized cmd is not so scary for most of Windows users ;-) What do you think?
-1 (to minimizing cmd)
I find it useful to have cmd visible, including for teaching.
Moritz
comment:11 by , 9 years ago
Replying to mlennert:
I also changed WinGRASS (currently only trunk, standalone installator) to start cmd minimized. I am not sure if it's good idea, it take some time when startup screen appears and user could have feeling that nothing happend (cmd is started minimized) and start GRASS several times. Starting cmd in normal mode is probably better idea in the sense that user has some information that GRASS is starting. On the other side minimized cmd is not so scary for most of Windows users ;-) What do you think?
-1 (to minimizing cmd)
I find it useful to have cmd visible, including for teaching.
OK, reverted in r67119
follow-up: 13 comment:12 by , 9 years ago
Replying to martinl:
Replying to wenzeslaus:
Please see and try trunk after r66917, r66918, r66920, and r66982 by martinl.
BTW, these commits enable to close CLI terminal (cmd) automatically when quiting GUI. The ticket reports other issue. To close GUI automaticaly (currently GUI just hangs and become unfunctional) when closing CLI terminal.
The GUIs left behind after closing GRASS GIS now seem to be a bigger problem. On thing is that from user perspective the command line and GUI are now more connected. (Fortunately, after r66920, there is no more the danger of terminating a different process.) BTW, I like it much more after r67244.
follow-up: 15 comment:13 by , 9 years ago
Replying to wenzeslaus:
The GUIs left behind after closing GRASS GIS now seem to be a bigger problem. On thing is that from user perspective the command line and GUI are now more connected. (Fortunately, after
attempt to solve this issue applied in r67306
comment:14 by , 9 years ago
Milestone: | 7.0.3 → 7.0.4 |
---|
comment:15 by , 9 years ago
comment:16 by , 9 years ago
Cc: | added; removed |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:17 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Tested closing. Feel free to reopen if needed.
This needs to be done in init.sh I believe.
Michael