After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735479 - New window heuristics seem catch apps that can launch new windows
New window heuristics seem catch apps that can launch new windows
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-08-26 20:11 UTC by drago01
Modified: 2021-07-05 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description drago01 2014-08-26 20:11:00 UTC
One of them is gnome-terminal which a lot of users tend to use multiple windows of ...


<drago01> Jasper: are running f21 or rawhide currently?
<Jasper> drago01, F21
<drago01> Jasper: does gnome-terminal say in its desktop fail that it is a single-window app?
<drago01> Jasper: there are complaints about no more "new window" for it in the dash menu
<Jasper> drago01, I don't believe so. What's the key
<drago01> Jasper: X-GNOME-SingleWindow
<drago01> see https://git.gnome.org/browse/gnome-shell/commit/?id=3182aba744e7d64ecf71dfdbb5f5b1fa663325dc
<mclasen> no X-GNOME-SingleWindow here
<mclasen> yet no 'new window' menuitem
<drago01> ok so probably that "unique GtkApplication" heuristic
<Jasper> The one I told gcampax I didn't like
* drago01 files a bug
<mclasen> doesn't have a new-window action, but an app menu
Comment 1 Giovanni Campagna 2014-08-26 20:15:10 UTC
Fix gnome-terminal to use new-window (which is a suggested name according to the GTK+ docs, for compat with OS X) for "New Terminal" and the problem is solved.

Also, looking at appmenu + app.new-window was Jasper's idea. If you have a better proposal I'll be happy to implement it.

(Mine was just the desktop file key, he didn't want to change every desktop file out there)
Comment 2 drago01 2014-08-26 20:19:03 UTC
(In reply to comment #1)
> Fix gnome-terminal to use new-window (which is a suggested name according to
> the GTK+ docs, for compat with OS X) for "New Terminal" and the problem is
> solved.
> 
> Also, looking at appmenu + app.new-window was Jasper's idea. If you have a
> better proposal I'll be happy to implement it.

Well just forwarding the complaint from https://lists.fedoraproject.org/pipermail/test/2014-August/122527.html ... 

Matthias suggested to just set "X-GNOME-SingleWindow=false" for gnome-terminal that would work too but not sure it is right to have "New window" and "New terminal" ... that's just confusing .. what's the difference?
Comment 3 Giovanni Campagna 2014-08-26 20:44:26 UTC
See https://bugzilla.gnome.org/show_bug.cgi?id=735484
Comment 4 Michael Schwendt 2014-08-28 10:01:11 UTC
> Matthias suggested to just set "X-GNOME-SingleWindow=false" for gnome-terminal

What about all other apps, which enforce a single window themselves? There would be a "New Window" menu entry, which doesn't make sense then. For example, Claws Mail, Audacious, Geeqie, ...
Comment 5 Florian Müllner 2014-08-28 10:20:16 UTC
(In reply to comment #4)
> > Matthias suggested to just set "X-GNOME-SingleWindow=false" for gnome-terminal
> 
> What about all other apps, which enforce a single window themselves? There
> would be a "New Window" menu entry, which doesn't make sense then.

They either add "X-GNOME-SingleWindow=true" to their .desktop file, or they get the same broken behavior as in all previous gnome-shell versions ...
Comment 6 GNOME Infrastructure Team 2021-07-05 14:43:31 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of  gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/

Thank you for your understanding and your help.