mate-desktop / pluma

A powerful text editor for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
158 stars 66 forks source link

What is this weird text selection thing and how can it be turned off? #634

Open MikeHartman opened 3 years ago

MikeHartman commented 3 years ago

Expected behaviour

"Normal" text selection with the mouse as it's always worked, and works in virtually every other application.

Actual behaviour

I had a perfectly good pluma install, did some routine system upgrades, and now I've got this bizarre "quote" thing that makes selecting text difficult to do accurately, blocks my view of what I'm trying to select, and prevents me from triple-clicking to select a whole line. No mention of it in Help, or Preferences, or Plugins, and I can't even figure out what you would call it so Googling for info has been useless too.

https://imgur.com/a/5sz6lxD

Steps to reproduce the behaviour

Not sure what I did to activate it initially unless my routine updates updated pluma. Now all I have to do is try to select text with the mouse. Tried upgrading Mint to get access to a newer version of pluma, but behavior persists.

MATE general version

First cropped up under Mate 1.20, persisted after upgrade to 1.24.

Package version

Pluma is 1.24.0-1, but was definitely an earlier version when this first happened before I upgraded Mint and everything else.

Linux Distribution

First cropped up under Mint 19.1, persists now in Mint 20.2.

Link to bugreport of your Distribution (requirement)

I haven't submitted it as a bug report because I can't find any information about it at all. For all I know this is completely intentional, it was left out of all documentation for some reason, and I just need to switch text editors.

lukefromdc commented 3 years ago

Is Mint shipping any custom plugins for Pluma?

This sure sounds like something a plugin would have to do. I have run every version of Pluma back to 1.10 (a then-experimental gtk3 bulld) and normall run builds from git master and have never done this.

On 7/12/2021 at 10:38 PM, "MikeHartman" @.***> wrote:

Expected behaviour

"Normal" text selection with the mouse as it's always worked, and works in virtually every other application.

Actual behaviour

I had a perfectly good pluma install, did some routine system upgrades, and now I've got this bizarre "quote" thing that makes selecting text difficult to do accurately, blocks my view of what I'm trying to select, and prevents me from triple-clicking to select a whole line. No mention of it in Help, or Preferences, or Plugins, and I can't even figure out what you would call it so Googling for info has been useless too.

Steps to reproduce the behaviour

Not sure what I did to activate it initially unless my routine updates updated pluma. Now all I have to do is try to select text with the mouse. Tried upgrading Mint to get access to a newer version of pluma, but behavior persists.

MATE general version

First cropped up under Mate 1.20, persisted after upgrade to 1.24.

Package version

Pluma is 1.24.0-1, but was definitely an earlier version when this first happened before I upgraded Mint and everything else.

Linux Distribution

First cropped up under Mint 19.1, persists now in Mint 20.2.

Link to bugreport of your Distribution (requirement)

I haven't submitted it as a bug report because I can't find any information about it at all. For all I know this is completely intentional, it was left out of all documentation for some reason, and I just need to switch text editors.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/mate-desktop/pluma/issues/634

MikeHartman commented 3 years ago

My first assumption was that it was a new plug-in too, but I'm currently running with all plugins disabled and it hasn't made a difference.

Is it possible it's something coming from some Mate component Pluma is using? I've been checking every accessibility-related setting I can find on the system. Haven't found anything that sounds remotely like what I'm seeing or anything that affects it. I haven't found anything unexpected running at startup or in the mate panels either.

cwendling commented 3 years ago

Looks like something that could be a GTK extension for touchscreens or so? Weird if it only affects Pluma though, but maybe it's the only X application you're running on a Wayland session and it has a hardware detection bug?

cwendling commented 3 years ago

Looks like https://stackoverflow.com/questions/55542129/how-can-i-disable-popover-in-a-gtk-text-view-on-touchscreen could be referencing the same thing, but no answer there either.

MikeHartman commented 3 years ago

I suppose it's possible. It's a Lenovo Yoga with a touchscreen, but it's closed and docked to a regular monitor and mouse and the touch-devices are all specifically disabled. But poorly though-out code could be seeing those devices anyway and making unwarranted assumptions.

Pluma isn't the only X app I'm running by a long shot, but I don't know the current ins and outs of the display servers and gui toolkits so there could be something unique about it on my system.

No solution yet, but at least that link gives me a new jumping-off point. Thanks.

MikeHartman commented 3 years ago

Can confirm I'm definitely running X11 and not Wayland.

cwendling commented 3 years ago

Maybe you could try another GtkSourceView-using app, like simply GNOME's GEdit and see if it exhibits the same behavior?