[Xfce-bugs] [Bug 16388] Risk to activates first item of right click menu accidentally

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Jan 18 14:40:05 CET 2020


https://bugzilla.xfce.org/show_bug.cgi?id=16388

--- Comment #5 from jack_the_pirate <ersrpca001 at hotmail.com> ---
This happens both in the Desktop and inside Thunar.

Successful replication of this bug can be made if you follow these steps.

Pay attention to the mouse arrow in steps 2 and 5.

I have done this today exactly like written below.
And took the following 14 screenshots:

http://imgbox.com/ntgdZxTM Debian
http://imgbox.com/n3HSZ5E9 Debian
http://imgbox.com/8M74ecbQ Thunar
http://imgbox.com/inRWD6BB Thunar
http://imgbox.com/VOrp3Nko Thunar
http://imgbox.com/WO84w2xT Thunar
http://imgbox.com/ye1r0OoI Thunar
http://imgbox.com/C2Anzw1X Thunar
http://imgbox.com/bSqvJb4l Thunar
http://imgbox.com/dDKtERXH Thunar
http://imgbox.com/ECrcv82s Nautilus 1-2
http://imgbox.com/QuUt6oIa Nautilus 2-2
http://imgbox.com/YfK01K2A PCManFM 1-2
http://imgbox.com/7s0cR7BD PCManFM 2-2
---------------------------------------------
step 1

debian-9.11.0-amd64-xfce-CD-1.iso
in Virtualbox, install Debian 9.11 9 XFCE
and activate a mirror during installation for upgrades
so that the final result is a Debian 9 fully updated system

downloaded from this page:
https://cdimage.debian.org/mirror/cdimage/archive/9.11.0/amd64/iso-cd/

download link:
https://cdimage.debian.org/mirror/cdimage/archive/9.11.0/amd64/iso-cd/debian-9.11.0-amd64-xfce-CD-1.iso

screenshots
http://imgbox.com/ntgdZxTM
http://imgbox.com/n3HSZ5E9

---------------------------------------------
step 2

without changing anything at all (themes, config files, etc), do this:
- in the Desktop, right-click in upper half of the screen
- in the Desktop, right-click in lower half of the screen
- open a folder with Thunar and right-click in upper half of the screen
- open a folder with Thunar and right-click in lower half of the screen

screenshots
http://imgbox.com/8M74ecbQ
http://imgbox.com/inRWD6BB
http://imgbox.com/VOrp3Nko
http://imgbox.com/WO84w2xT

---------------------------------------------
step 3

- create a lot of Thunar custom actions

I have created 100 in this test, which are in fact the same (just a simple
"mkdir screenshots")

if you prefer, you can use the attached file (uca.xml) to replace the default
custom actions file

default custom actions file location:
/home/YOUR-USER/.config/Thunar/uca.xml

---------------------------------------------
step 4

- logout
- login
to be completely sure that the new custom actions file will be work both in the
Desktop and in Thunar

---------------------------------------------
step 5

after logging in, do this again like in step 2:
- in the Desktop, right-click in upper half of the screen
- in the Desktop, right-click in lower half of the screen
- open a folder with Thunar and right-click in upper half of the screen
- open a folder with Thunar and right-click in lower half of the screen

screenshots
http://imgbox.com/ye1r0OoI
http://imgbox.com/C2Anzw1X
http://imgbox.com/bSqvJb4l
http://imgbox.com/dDKtERXH

---------------------------------------------
At this point, as anybody that performed these steps will see, the problem is
that a menu entry (which in fact is a command) of the right-click menu is
automatically selected by default.

To my knowledge, this does NOT happen in other file managers in Linux or
Windows or BSD or Apple.

Nautilus and PCManFM also have custom actions and that does NOT happen in them,
as you can see here (also tested in the same Debian 9 system):

Nautilus
http://imgbox.com/ECrcv82s
http://imgbox.com/QuUt6oIa

PCManFM
http://imgbox.com/YfK01K2A
http://imgbox.com/7s0cR7BD

I can only understand the right-click menu automatically selecting a menu entry
by default in special situations:
- if there are NO custom actions present
- if the user wants it and set it so

To fully understand the bad consequences of this, please read what I wrote
above in the forum post at time "2020-01-14 09:45:40 WET"

=============================================

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list