Gnome terminal always open new window in gnome shell

Bug #1739263 reported by shantanu saha
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

How to regenerate:
1. Open dash and search for terminal
2. Click to open terminal
3. After opening a terminal window, open dash again and search for terminal
4. In gnome shell, icon doesn't show any indicator that another window of terminal is already running and click on the icon will create a new window

Possible cause:
Installation of gnome-terminal create two .desktop file in /usr/share/applications. (gnome-terminal.desktop and org.gnome.Terminal.desktop)

Workaround:
1. Delete /usr/share/applications/gnome-terminal.desktop
2. Edit /usr/share/applications/org.gnome.Terminal.desktop and modify NoDisplay=true to NoDisplay=false

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-terminal 3.24.2-0ubuntu4 [modified: usr/share/applications/org.gnome.Terminal.desktop]
ProcVersionSignature: Ubuntu 4.13.0-19.22-generic 4.13.13
Uname: Linux 4.13.0-19-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Dec 20 01:04:16 2017
InstallationDate: Installed on 2017-10-26 (54 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
shantanu saha (shantanucse18-gmail) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
Revision history for this message
Jeremy Bícha (jbicha) wrote :

I don't think we know of a good way to fix this for Ubuntu 18.04 LTS. The "duplicate" .desktop was provided for upgrade compatibility reasons and will be dropped in Ubuntu 18.10. But we can't really drop it in Ubuntu 18.04 LTS because we want it to be there for the upgrade to finish there even for users who haven't upgraded to 18.04 LTS yet.

Changed in gnome-terminal (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Changed in gnome-terminal (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-terminal - 3.30.0-1ubuntu1

---------------
gnome-terminal (3.30.0-1ubuntu1) cosmic; urgency=medium

  * Merge with debian (LP: #1791373), remaining changes:
    + gnome-terminal.wrap, debian/rules:
      - Add a wrapper script to restore command line compatibility.
    + debian/control.in:
      - gnome-terminal depends on python3, python3-gi and gir1.2-glib-2.0 for
        the wrapper script.
      - Don't Build-Depend on PCRE2
    + Add 0001-Restore-transparency.patch:
      - Restore transparency support
    + Add 0001-Add-style-classes-and-CSS-names-to-some-of-our-widge.patch:
      - Add CSS names and style classes so we can theme things more easily.
    + Add 0001-screen-window-Extra-padding-around-transparent-termi.patch:
      - Fix transparency on Wayland. Patch by Owen Taylor, via Debarshi Ray @
        Fedora (LP: #1650395)
    + Add 52_support_apturl.patch:
      - Support apt: urls.
    + Add 60_add_lp_handler.patch:
      - Add a handler for launchpad bug URLs.
    + Add scrollbar-background-theming.patch:
      - Draw background under the scrollbar that matches the actual terminal
        background color. This allows proper theming.
    + Add debian/patches/revert-pcre2.patch:
      - Revert changes that require PCRE2 since it's not in main
        (see MIR #163666)
  * Keep 006-fix-invalid-appstream-metadata.patch:
    - Ubuntu's AppStream versions and http://appstream.ubuntu.com/
      don't support gnome-terminal's syntax yet
  * Refreshed Patches:
    + debian/patches/50_add_unity_quicklist.patch:
      - Dropped as upstream includes this feature now
  * debian/rules:
    - Stop installing compatibility version of gnome-terminal.desktop
      (LP: #1739263)

gnome-terminal (3.30.0-1) unstable; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * New upstream release 3.30 (LP: #1791373)
  * Refresh patches

  [ Jeremy Bicha ]
  * Bump minimum libvte-2.91-dev to 0.54.0
  * Cherry-pick app-Make-new-terminal-menu-a-hidden-pref.patch
    - unified New Terminal menu item can be set via gsettings (LP: #1747171)
  * Add debian/gnome-shell.gsettings-override to disable unified New Terminal
  * debian/rules: Drop obsolete build option to disable unified New Terminal
  * debian/rules: Drop obsolete --disable-migration configure flag
  * Update debian/gbp.conf

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 12 Sep 2018 15:30:08 +0100

Changed in gnome-terminal (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.