Running Arch Linux, currently on Thunar 1.6.11, but I also had this issue on 1.6.10. I'm not sure if it existed before then, because it didn't happen until I switched my theme to Arc-Dark, and I made that switch while running 1.6.10. It took me about a year of testing things here and there to finally nail down exactly how to reproduce this. It recently became extremely annoying, because it leads to me accidentally using whatever right-click option is above Properties, which recently became a certain custom action I'd rather not do when the "Create Archive..." option randomly started being above the custom actions instead of below. Steps to reproduce: -Use one of certain themes that cause it, including Arc-Dark but not including the XFCE themes or Numix Frost (the only others I've used). -Close all open Thunar windows (but killing the daemon process is not necessary). -Open a new Thunar window. -View the contents specifically in Detailed View, not Icon or List. -Right-click on a file (specifically a file, not a folder), without holding down the button. Expected behavior: -The right-click menu shows up after a split-second delay and waits for you to choose an option. This happens if you're not in Detailed View. Actual behavior: -The right-click menu shows up immediately (no delay) for a split-second and immediately chooses whatever option was under the cursor, as if you had held down the button, even if you had depressed and released it as quickly as a milisecond. This will always happen the first time you use a right-click menu in a Thunar window, rarely the second time, and never any subsequent times. Otherwise, it exhibits the expected behavior. The behavior of this bug is almost identical to a completely different bug that was caused by the gtk-menu-popup-delay option in certain themes, but since that option is now deprecated, and changing it myself to any value at all didn't change this bug's behavior, I'm sure it's not the cause this time. When I Googled this behavior, I found many discussions about that other bug, but the only one I found that might be this bug is at https://forums.linuxmint.com/viewtopic.php?t=92719 I couldn't figure out exactly why Arc-Dark is causing this, because I'm not an expert in GTK theming and couldn't spot any options in Arc-Dark's files that I figured might have anything to do with this.
I can confirm this issue though I haven't personally noticed that it's theme-dependent. It may very well be though. In any case it happens with the Adapta theme. I have found that if I adjust my mouse's behavior and decrease the double-click time the issue happens less frequently, and if I increase my double-click time it happens more frequently. It only happens in Thunar, and only happens in detailed view. Changing mice doesn't make any difference. It happens around once every 50 right-click actions on average, and as I said can be made to happen more often, up to perhaps once every 10 times, by increasing the mouse's double-click time. Examples: right-clicking on an archive opens the Extract To right-click menu action. Right-clicking on a folder causes the Create Archive action to launch. It seems to be whatever item on the right-click menu that is just to the immediate right of the mouse cursor that is run.
(In reply to Jay from comment #1) > I can confirm this issue though I haven't personally noticed that it's > theme-dependent. It may very well be though. In any case it happens with the > Adapta theme. > > I have found that if I adjust my mouse's behavior and decrease the > double-click time the issue happens less frequently, and if I increase my > double-click time it happens more frequently. It only happens in Thunar, and > only happens in detailed view. Changing mice doesn't make any difference. It > happens around once every 50 right-click actions on average, and as I said > can be made to happen more often, up to perhaps once every 10 times, by > increasing the mouse's double-click time. > > Examples: right-clicking on an archive opens the Extract To right-click menu > action. Right-clicking on a folder causes the Create Archive action to > launch. It seems to be whatever item on the right-click menu that is just to > the immediate right of the mouse cursor that is run. I forgot to mention, this is in MX Linux version 18 Continuum.
This bug actually disappeared in Arc-Dark when Thunar finally finished porting to GTK3 (and I remember coming back to mention that in a bug report about it, so that's really weird that that hasn't seemed to have happened here), so I can't easily test it anymore. So I don't think I'll bother with installing Adapta to confirm unless I'm needed enough to do so (like if the developer isn't able to reproduce it or something). For all I know it could even not have the same cause it originally had (assuming you're also on modern Thunar), but seeing as the original already seems to be gone in modern Thunar, I don't mind it now being about this.
@Jay Which version of thunar do you use ? Doe it as well happen for thunar 1.8.x ? @Jimi Bove Nice to hear that the problem disappeared for you. Good chance that it was related to theming. ( Alot of theming API changed between gtk2 and gtk3 )
@alexxcons MX Linux 18, which is based on Debian Stable, comes with Thunar 1.6.15. I saw that the milestone for fixing this was Thunar 1.8.0 but I didn't realize 1.8.x was/were released already. Unfortunately now newer versions are available even in the testing repository. @all I just had the issue again this morning, once. This was when using the Numix theme (plain Numix, not Numix Frost which isn't available for my distro.)
By the way, as long as I'm going to be stuck with Thunar 1.6.15 (GTK2 version) for a while longer, does anyone have a complete list of themes that are known not to cause this issue in Thunar? Perhaps one or more of them are available for my distro. This would be an acceptable work-around until my distro gets updated. Thanks.
Ok, so it pretty much looks like this is a theming bug which hopefully will vanish, with the transition to gtk3. I dont have any complete list, however there are some default themes which are known to work fine with xfce: - adwaita / adwaita dark - all xfce-* themes ( only for gtk2, will not be supported any longer for gtk3 ) - greybird / bluebird / blackbird
Also working fine in my experience the last time Arch Linux had thunar 1.6.x was Numix Frost.
FYI I've been using Adwaita for several days and haven't been experiencing this issue any more. That (or else using compact list view instead of detailed view) will have to be my work-around until MX Linux upgrades Thunar, which I'm told won't be until after XFCE 4.14 is released then included in Debian Stable.
Sounds good ... though it may take some time till xfce 4.14 made it into debian stable :( .. hope we have a 4.14 alpha soon. So I will close the bug for now. Feel free to reopen, if it should be required !