Middle Click not Detected even when changing option to open in new tab or in new window. It doesn't do either.
Can you still reproduce this?
On Thunar 1.6.3, when I middle click in the title of a tab, it is closed (as expected).
(In reply to Helder from comment #1)
> Can you still reproduce this?
> On Thunar 1.6.3, when I middle click in the title of a tab, it is closed (as
The bug doesn't regard middle click on an existing tab to close it but middle click on a directory, which is supposed to open this directory in a new tab (or new window). The tab-closing behavior is working but the directory-opening one is subject to the single click or double click policy the user has chosen: if the user has selected “single click to activate items”, it will work as expected, but if the user has selected “double click to activate items”, it will require him to double middle click on a directory to open it in a new tab / window, which is not the expected behavior (this single or double click policy should only be applied to the left click but not to the middle or right click).
Created attachment 5867
Patch to change double middle click to single middle click for opening files and folders. It changes many lines, but only because of adapting the indentions.
Created attachment 5868
A similar patch is necessary for the details view. The previous patch only handles this for the icon and list views.
Unfortunately, one bug with my patches is that now <ctrl> + middle click opens files too, not only directories, which is not a desired behaviour. Without the patches, the item is only selected.
Created attachment 5869
Revised patch that combines and obsoletes the previous two patches because of their similarity and because they fix one problem:
Make single middle click open files and folders (bug #10587)
Regardless of the "open on single click" option, double middle
click is weird and many users will not know about it. What's more,
on many mice the middle mouse button is hard to press.
So do away with the double middle click and only allow open
with middle click for folders.
A single middle-click on files will still select a file. Whether or not this should happen should be the topic of another bug.
*** Bug 11061 has been marked as a duplicate of this bug. ***
Fixed in http://git.xfce.org/xfce/thunar/commit/?id=7e03b6ac999f83fb5302ed13b4652fff465d679d
*** Bug 11506 has been marked as a duplicate of this bug. ***