Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Linux, can't get back main window after quitting with just Details open #2730

Closed
philrz opened this issue Mar 18, 2023 · 2 comments · Fixed by #2743
Closed

On Linux, can't get back main window after quitting with just Details open #2730

philrz opened this issue Mar 18, 2023 · 2 comments · Fixed by #2743
Assignees
Labels
bug Something isn't working community

Comments

@philrz
Copy link
Contributor

philrz commented Mar 18, 2023

Repro is with Zui v1.0.0 on Ubuntu Linux. This issue was originally reported by a community user in a public Slack message.

As shown in the attached video, if the contents of the "Details" view are popped out into their own separate window, and then the app's main window gets closed somehow, when the app is ultimately quit and relaunched, it comes back with just the blank Detail window and no main window. I don't see a way to force it to re-open a main window when it's in this state.

Repro.mp4
@philrz philrz added bug Something isn't working community labels Mar 18, 2023
@philrz philrz changed the title On Linux, can't get back main window after closing with just Details open On Linux, can't get back main window after quitting with just Details open Mar 18, 2023
@philrz
Copy link
Contributor Author

philrz commented Mar 23, 2023

A separate community zync user just bumped into a variation of this on Windows. In their own words:

I don't seem to be able to start Zui - Insiders on my laptop. [...] I get a small window in the middle of the screen that looks like this:

image

I reproduced this problem on Windows and found that I was able to get the main window back by right-clicking the app icon in the Task Bar and selecting New Window, and thankfully the user was able to do this successfully as well. However, given this open bug I went to reproduce on Linux and found it's much the same as shown above with the Details window: The New Window option only opens another window of the same style that's already open, which is an About window in this case. I can't see any visible controls that would allow me to get back the main window on Linux.

Repro.mp4

This user's experience makes me think a general solution would also be justified that would work for all platforms: Make sure that whenever the app launches there's always at least one main window. So if the app was exited with none open, then start with a blank one on relaunch. I suggest this because the user's experience implies that it's not wholly intuitive to go looking in the Task Bar for a way to recover the app, so we should have it "self recover" as best it can.

@philrz
Copy link
Contributor Author

philrz commented Apr 1, 2023

Verified in Zui Insiders v1.0.2-1, which is based on Zui commit f2bce04.

As shown in the attached videos, on Linux if I close the Details or About windows last, now when I relaunch the app, a Search window appears.

Verify-Details.mp4
Verify-About.mp4

The next video confirms the same on Windows.

Verify-Windows.mp4

While having the blank Search window upon launch is a vast improvement of how it was before, I also realized that having the Session history lost is unfortunate, so #2746 has been opened to see what we might do about improving on that in the future.

Thanks @jameskerr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants