0.84: Unexpected renaming of folder on second click

Bugs that are confirmed but cannot be fixed for some reasons.

Moderators: XnTriq, xnview, Dreamer

User avatar
helmut
Posts: 8120
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

0.84: Unexpected renaming of folder on second click

Postby helmut » Thu Feb 16, 2017 10:38 pm

XnView: MP 0.84
OS: Windows 10 - 64bit

When clicking on a folder in the folder tree for a second time, renaming of that folder is started. When working with both folder and file list this results in unwanted rename actions.

Effect: Starting renaming on second click might be a useful feature but on Windows platforms (including Windows 10) this is unexpected behaviour and even causes problems - see below.

To reproduce:
1. Start XnView browser.
2. Select a folder in the folder tree by clicking on it.
3. Select a file in the file list by clicking on it.
4. Select the same folder as before in the folder tree by clicking on it (do not move the mouse after clicking).
Actual behaviour (bug): XnView MP switches to rename mode, i.e. the user could rename the folder. :bug:

Expected behaviour: The folder should be selected. No rename action.

Erixx haxx
Posts: 330
Joined: Tue Jul 28, 2015 10:37 am

Re: 0.84: Unexpected renaming of folder on second click

Postby Erixx haxx » Sat Feb 18, 2017 5:39 am

Hi:

I really don't think this is a bug because:

After selecting folder inside Tree, then selecting File inside browser.
The Folder inside the Tree still keeps its focus because it's a separate panel. Just the panel loses focus.
Rename isn't triggered until a 2nd "Press and Release:, so we are still able to "drag and drop folders". Or at-least I seem to be able to.

Most Win programs I've seen operate this way. Some others will separate the Icon from the Text area and make each a different trigger.
So far I haven't run into this as being a problem, Maybe someone else has. I kind of like the way it is

I guess getting focus back to panel could be an issue.

User avatar
helmut
Posts: 8120
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: 0.84: Unexpected renaming of folder on second click

Postby helmut » Sat Feb 18, 2017 8:34 am

Erixx haxx, you're absolutely right: "Renaming on second click" is a convenient feature and can be even found in Windows (file dialogs).

What should be fixed is the above bug, i.e. after a focus switch renaming shouldn't start.

Thank you, Erixx haxx, for showing me the right path. :)

User avatar
xnview
Author of XnView
Posts: 28298
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.84: Unexpected renaming of folder on second click

Postby xnview » Wed Jun 07, 2017 5:25 pm

helmut wrote:Erixx haxx, you're absolutely right: "Renaming on second click" is a convenient feature and can be even found in Windows (file dialogs).

What should be fixed is the above bug, i.e. after a focus switch renaming shouldn't start.

Thank you, Erixx haxx, for showing me the right path. :)

It's a QT bug
Pierre.


Return to “Postponed”

Who is online

Users browsing this forum: No registered users and 1 guest