GNOME Bugzilla – Bug 732606
New Window action does not work for many apps
Last modified: 2014-07-02 07:20:58 UTC
* Right click an app in the dock that you currently have open * Click New Window Expected behavior: A new window opens, always. Actual behavior: Apps using GtkApplication usually do not open a new window. We should either remove New Window from this menu, sad as that would be, or else figure out a standard way for apps to communicate to the shell that they do or do not support new window (and implement that with GtkApplication). Seems like a property GtkApplication could expose over D-bus? [1] (And for anything that doesn't use GtkApplication, it's probably pretty safe to assume it will work.) [1] https://wiki.gnome.org/Projects/GLib/GApplication/DBusAPI
I forgot to add: one option would be to check if the app has an action named app.new-window, which is pretty standard for implementing the New Window action. (New Window is required by the draft HIG to be the first item in the app menu.) But that's a bit hacky.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 647105 ***