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

Cannot reopen main window while a crash report window is open #94

Open
mcatanzaro opened this issue Nov 20, 2014 · 2 comments
Open

Cannot reopen main window while a crash report window is open #94

mcatanzaro opened this issue Nov 20, 2014 · 2 comments

Comments

@mcatanzaro
Copy link
Contributor

GNOME 3.14 uses some heuristics to determine if an app can support multiple windows, so it doesn't display nonfunctional new window actions when right clicking on app launchers. In particular, a GtkApplication is assumed to only support a single window unless it has a GAction named new-window, or "X-GNOME-SingleWindow=false" in its desktop file. I think adding that line to the desktop file should be sufficient to make New Window work again.

Anyway, use case: while submitting a problem report, I decided that I wanted to view the "home page" with the list of problem reports on the left, but this isn't currently possible.

@jfilak
Copy link
Contributor

jfilak commented Dec 19, 2014

gnome-abrt does not support multiple instances because the notifications can open a detected problem in the currently opened window.

Your use case is valid and also supported. The reporting windows runs in a new process and you should be able to switch back to the main window (Alt+Tab works for me).

@mcatanzaro
Copy link
Contributor Author

Hm, OK. Well, it's totally fine for gnome-abrt to be single instance; the thing is, if you close the main window, then it's impossible to reopen it without closing all associated windows. Try it by clicking Report in the upper-right of the main window to open a new report window, switch back to the main window, close the main window, and then try to figure out how to reopen it (I don't think it's possible).

I'm not sure what the right way to fix this for a single-instance app is, though. I think a single-instance app with multiple windows needs to provide its own way to reopen the main window. No clue how to do that nicely. (A multi-window, single-instance app is probably a bad idea....)

@mcatanzaro mcatanzaro changed the title Support multiple windows in GNOME 3.14 Cannot reopen main window while a crash report window is open Jan 31, 2019
@xsuchy xsuchy added this to Needs triage in Issue review via automation Apr 15, 2020
@xsuchy xsuchy moved this from Needs triage to Someday in future, maybe in Issue review Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Issue review
  
Someday in future, maybe
Development

No branches or pull requests

3 participants