Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

GUI doesn't reopen after closing it #765

Closed
HelenClifton opened this issue Sep 24, 2018 · 10 comments
Closed

GUI doesn't reopen after closing it #765

HelenClifton opened this issue Sep 24, 2018 · 10 comments
Assignees

Comments

@HelenClifton
Copy link

HelenClifton commented Sep 24, 2018

Expected behavior

@forman, @hans-permana
Cate GUI is open
Selected File->Exit
Selected Exit again to confirm
GUI closes
Double-click Cate Desktop.
Expect GUI to re-open.

Actual behavior

GUI doesn't re-open.
Looking in Windows Task Manager, can see two cate desktop processes still running.

gui1

As a workaround, these can be ended manually using "End Process" in Windows Task Manager, then the GUI will open.

Another feature is that if the user selects "Do not ask me again" in the cate exit dialog
gui2
then the problem goes away after the GUI has been opened then closed again.

Steps to reproduce the problem

See above.
Looks similar to #636

Specifications

Cate-2.0.0-dev.19
Windows 7 Professional

@forman
Copy link
Member

forman commented Sep 24, 2018

Thanks Helen. This is so frustrating. Thought this was fixed. Can't think of any code changes in that part.

@forman
Copy link
Member

forman commented Sep 24, 2018

Can't reproduce this. What if you wait a minute before starting Cate Desktop once more?

@forman
Copy link
Member

forman commented Sep 25, 2018

@HelenClifton was it a clean install or an auto-update from dev18 to dev19. Are you sure that dev18 behaved different?

@forman
Copy link
Member

forman commented Sep 25, 2018

@HelenClifton can you please confirm, this does not happen, if you exit using the main window close icon.
Have you tested Mac and Linux?

forman added a commit to CCI-Tools/cate-desktop that referenced this issue Sep 25, 2018
@forman
Copy link
Member

forman commented Sep 25, 2018

Just compared the log files from the Cate Desktop development version. Left is window close, right is exit from file menu (calls electron.app.quit():

image

Looks as it should! In both case, the backend is shut down.

And here is the packaged Cate Desktop. Again left is window close, right is exit from file menu:

image

clearly showing the problem.

forman added a commit to CCI-Tools/cate-desktop that referenced this issue Sep 25, 2018
@forman
Copy link
Member

forman commented Sep 25, 2018

oops

@forman forman reopened this Sep 25, 2018
@HelenClifton
Copy link
Author

Hi @forman Here's some more info

  • I have only tested on Windows
  • I did see the issue using dev. 16
  • With dev. 19 I saw the issue in both cases
    - with an auto-update (from dev. 16 to dev.19)
    - a clean install of dev.19
  • It does not happen if the GUI is closed using close icon on top right.
  • It does happen if GUI is closed using File->Exit and then confirming the exit. Waiting for a while before re-opening the GUI doesn't help.
  • When the GUI is closed using File->Exit and the "Do not ask me again" box is checked, the problem no longer occurs.

@forman
Copy link
Member

forman commented Sep 26, 2018

@HelenClifton we have a fix in 2.0.0-dev.20, to be released later today.

@HelenClifton
Copy link
Author

@forman Confirmed fixed in dev.20. closing it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants