Gedit right click context menu stops working

Bug #1825919 reported by PJSingh5000
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Expired
Low
Unassigned

Bug Description

The Gedit text area right-click context menu stops appearing.

This bug affects Ubuntu 19.04, but may be a regression of old Bug #1731581 from Ubuntu 17.10.

    Gedit version: 3.32.0-3
    Fresh install of Ubuntu 19.04
    gkt-3 version: 3.24.8-1ubuntu1

RECREATING ISSUE

When I first log in, the right-click context menus in Gedit works fine.
After some time of usage, the right-click context menu no longer appears.

SIDE-EFFECT

A side-effect of this issue is that the mouse cursor does not revert to a pointer style after doing a right-click. It retains the "I" (Insert) shape even when you hover outside Gedit's text area.

description: updated
Revision history for this message
PJSingh5000 (pjsingh5000) wrote :

I see this in my application logs:

Unable to parse accelerator ???:ignored request to install 6 accelerators

(Where ??? is a non-printing character).

description: updated
summary: - Right click context menu stops working
+ Gedit right click context menu stops working
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Do you have some specific actions you do that lead to the problem,? Do you have non default extensions?

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
PJSingh5000 (pjsingh5000) wrote :

NON_DEFAULT EXTENSIONS
----------------------

Dash to Dock
    https://extensions.gnome.org/extension/307/dash-to-dock/
    Note: I have removed gnome-shell-extension-ubuntu-dock

Bluetooth Quick Connect
    https://extensions.gnome.org/extension/1401/bluetooth-quick-connect/

Caffeine [INACTIVE]
    https://extensions.gnome.org/extension/517/caffeine/

Clipboard Indicator
    https://extensions.gnome.org/extension/779/clipboard-indicator/

Coverflow Alt-Tab
    https://extensions.gnome.org/extension/97/coverflow-alt-tab/

Printers
    https://extensions.gnome.org/extension/1218/printers/

Refresh Wifi Connections
    https://extensions.gnome.org/extension/905/refresh-wifi-connections/

Sound Input & Output Device Chooser
    https://extensions.gnome.org/extension/906/sound-output-device-chooser/

TLP Switcher
    https://extensions.gnome.org/extension/1212/tlp-switcher/

DEFAULT EXTENSIONS
------------------

Desktop Icons [INACTIVE]
    Note: Default Ubuntu extension

Ubuntu appindicators
    Note: Default Ubuntu extension

GEDIT PLUGINS
-------------

I have the following Gedit plugin packages installed:
    1. gedit-plugins
    2. gedit-source-code-browser-plugin

The following Gedit plugins are activated:
    Character Map
    Code Comment
    Document Statistics
    File Browser Panel
    Find in Files
    Insert Date/Time
    Join/Split Lines
    Smart Spaces
    Sort
    Source Code Browser
    Spell Checker
    Word Completion
    Zeitgeist dataprovider

REPRODUCING ISSUE
-----------------

I haven't been able to find a consistent way to reproduce this issue...

It occurs after using Gedit for a long time.
I use Gedit heavily, open many tabs, and open local and remote text documents.
I do lot of cut-and-paste, I use the right-click context menu a frequently to cut or paste text.

While using Gedit, I simultaneously use Meld, and sometimes I have the same document(s) open in Gedit and in Meld.
I may edit a document at the same time in Meld and in Gedit. (When I do this, I simply reload the file when Meld or Gedit warn me that a file has changed).
One extension that I use heavily is Clipboard Indicator.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have any gedit warning/error in the journalctl log when the problem stats? Could you try without the extensions you are using to see if that's due to one of those? (or maybe try disabling a few that are non essential to you)

Revision history for this message
PJSingh5000 (pjsingh5000) wrote :

It just happened now...

When this happened, I had right clicked on a misspelled work in a Firefox text area. I didn't get a popup context menu; I thought it was just Firefox acting up.

So, I switched to my open Gedit window, to cut the correctly spelled word from my text document, and the context menu in Gedit wouldn't work either.

It didn't work for a while. But as I started to research and copy logs in order to collect information to post here, the right click context menu magically started to work again, after some time.

I'll post the journalctl out put here. The issue happened around 10:19 in the logs...

Revision history for this message
PJSingh5000 (pjsingh5000) wrote :
Download full text (6.1 KiB)

Apr 25 10:17:42 PS006 systemd[1]: snapd.service: Succeeded.
Apr 25 10:17:45 PS006 gnome-shell[1936]: g_environ_setenv: assertion 'value != NULL' failed
Apr 25 10:17:45 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.Logs' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 25 10:17:45 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Successfully activated service 'org.gnome.Logs'
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.ControlCenter.SearchProvider' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.Calculator.SearchProvider' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label="u
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.Characters.BackgroundService' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.clocks' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.seahorse.Application' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label="unconf
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Successfully activated service 'org.gnome.ControlCenter.SearchProvider'
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Successfully activated service 'org.gnome.clocks'
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Successfully activated service 'org.gnome.seahorse.Application'
Apr 25 10:19:20 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Successfully activated service 'org.gnome.Characters.BackgroundService'
Apr 25 10:19:21 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Successfully activated service 'org.gnome.Calculator.SearchProvider'
Apr 25 10:19:21 PS006 gnome-shell[1936]: Received error from DBus search provider org.gnome.seahorse.Application.desktop during GetResultMetas: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.NoReply: M
Apr 25 10:19:21 PS006 gnome-shell[1936]: Wrong number of result metas returned by search provider org.gnome.seahorse.Application.desktop: expected 1 but got 0
Apr 25 10:19:21 PS006 gnome-shell[1936]: Failed to set the markup of the actor 'ClutterText': Error on line 1 char 28: Odd character “S”, expected a “=” after attribute name “Less-than” of element “:”
Apr 25 10:19:21 PS006 dbus-daemon[1774]: [session uid=1000 pid=1774] Activating service name='org.gnome.seahorse.Application' requested by ':1.15' (uid=1000 pid=1936 comm="/usr/bin/gnome-shell " label="unconf
Apr 25 10:19:21 PS006 systemd[1]: Starting Snappy daemon...
Apr 25 10:19:21 PS006 snapd[1036]: AppArmor status: apparmor is enabled and all features are available
Apr 25 10:19:21 PS006 snapd[1036]: daemon.go:379: started snapd/2.38+19.04 (series...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gedit (Ubuntu) because there has been no activity for 60 days.]

Changed in gedit (Ubuntu):
status: Incomplete → Expired
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.