Created attachment 8961 shows where the cursor is when left-clicking 1. Open Thunar and right-click somewhere in the main window that's not on a file/directory. 2. Immediately move your mouse outside the range of the new pop-up window. 3. Click the left mouse button anywhere in Thunar. 4. Notice how clicking did not close the context menu. There are 3 things i've noticed: 1. If you quickly double click outside of the context menu, the context menu disappears 2. If you wait about 1 second after right-clicking, left click will close the context menu. It's as if there's a 1 second window where left clicking gets swallowed. 3. Moving your mouse around the context menu after right-clicking (e.g. highlighting Create Folder), then clicking the main window correctly closes the context menu the first time. If you right-click a file or directory, then left click somewhere in the whitespace, the correct behavior is observed. This bug is new to Thunar 1.8.9. Tested on Arch Linux.
I've just tested this with compositing on and off, and it seems like it only happens when compositing is on.
I can reproduce this problem, but only when not using Icons View (ctrl+1). Other than that, as you mentioned when compositing is disabled (and Thunar restarted) this is not reproducible, but as soon as you re-enable compositing this is not reproducible either, I need to open a new Thunar window to the issue manifest again. What is more interesting is that even though "Shadows under popup windows" is enabled, they are visible right after compositing is re-enabled, if Thunar is restarted they are gone. Finally, I was able to reproduce this with Nemo, so it leads me to think this is a gtk or xfwm4 bug.
Interesting, I can reproduce the problem in all views (ctrl+{1,2,3}). It happens in Nemo for me as well.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/thunar/-/issues/260. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev