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 791428 - Context menus do not appear for Gtk text areas upon right-click
Context menus do not appear for Gtk text areas upon right-click
Status: RESOLVED DUPLICATE of bug 791427
Product: gtk+
Classification: Platform
Component: Widget: GtkTextView
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-12-10 02:54 UTC by PJSingh5000
Modified: 2017-12-10 02:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description PJSingh5000 2017-12-10 02:54:02 UTC
libgtk-3-0:amd64 version 3.22.25-0ubuntu0.1

When right-clicking on Gtk text areas (such as an editable text area or a text entry field), a context menu does not appear. The pop-up context menu typically lists options such as copy, paste, etc.

EXAMPLES

Examples of applications that are impacted include:
1. Gedit Text Area
2. Nautlus (editable address bar)
3. Google Chrome URL bar
4. GtkHash (text entry fields)

Interestingly the text areas of some other applications do show pop-up context menu when right-clicked:
1. Libre Office Writer
2. Web pages in Google Chrome that require text entry (such as this web page)

RECREATING ISSUE

I do not have a consistent way to recreate this issue (yet). When I first log in, the right-click context menus work fine. After some time of usage, the right-click context menus no longer appear. If I use the computer long enough (over an hour) without rebooting, this issue always appears.

This issue seems to only affect widgets that require text entry. However, there is one exception I have noticed: the tabs in Google Chrome stop showing pop-up context menus at the same time as this issues manifests itself for the rest of gnome-shell applications with text areas.

OTHER CONTEXT MENUS

Context menus for other widgets do appear upon right-click, as expected, and work fine. For example, the context menu for window title bars appear when right-clicking on them. The context menu for folders and files in Nautilus also appear when right-clicking on them.

SYSTEM INFORMATION

$ lsb_release -rd
Description:	Ubuntu 17.10
Release:	17.10

$ apt-cache policy gnome-shell
gnome-shell:
  Installed: 3.26.1-0ubuntu5
  Candidate: 3.26.1-0ubuntu5
  Version table:
 *** 3.26.1-0ubuntu5 500
        500 http://us.archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.26.1-0ubuntu4 500
        500 http://us.archive.ubuntu.com/ubuntu artful/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome-shell 3.26.1-0ubuntu5
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
NonfreeKernelModules: wl nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Nov 10 18:39:00 2017
DisplayManager: gdm3
GsettingsChanges:
 b'org.gnome.shell' b'enabled-extensions' b"['<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>']"
 b'org.gnome.shell' b'had-bluetooth-devices-setup' b'true'
 b'org.gnome.shell' b'favorite-apps' b"['google-chrome.desktop', 'chrome-eppojlglocelodeimnohnlnionkobfln-Default.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Terminal.desktop', 'org.gnome.gedit.desktop', 'libreoffice-writer.desktop', 'libreoffice-calc.desktop', 'org.gnome.Software.desktop', 'gnome-system-monitor.desktop']"
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
InstallationDate: Installed on 2017-11-08 (2 days ago)
InstallationMedia: Ubuntu 17.10.0 2017.11.07 amd64 "Custom Artful Aardvark"
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 PJSingh5000 2017-12-10 02:56:50 UTC
System created two copies of bug 791427.

*** This bug has been marked as a duplicate of bug 791427 ***