0.94.2 MP - Unwanted categories

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
unqltango
Posts: 23
Joined: Sun Sep 01, 2019 8:16 am

0.94.2 MP - Unwanted categories

Post by unqltango » Mon Jan 13, 2020 6:28 pm

Hi Pierre,

this will be a bit hard to explain, but it is completely reproducible.

Edit: updated this post with the video I made below.

https://www.youtube.com/watch?v=Eby4tTz2hYk

OS: W10

Steps to reproduce:
Create several categories (10 or so).
Create subcategories within categories (2nd level).
Create some subcategories on the 2nd level (have some categories on the 3rd level)
Open up enough categories so the list goes out of the Categories window and you see the Scrollbar on the right.
Scroll down to the bottom of categories, so you see the last category and the scrollbar can't go deeper. <-- This is very important!

Now, without scrolling look for an open Category on the 2nd level (where you can see the 3rd level categories).
Click on the downward arrow in front of the category (close 2nd level category, so you won't see the 3rd level categories).


Faulty behavior: When you click the downward arrow, the Categories window will refresh and the mouse cursor will point to a new position in the tree. Basically the tree jumps under the mouse cursor. 3 outcomes possible:

- If at this position there is another category checkbox on the second level, it automatically gets selected, thus adding an unwanted keyword. (Bug)
- If at this position there is another category checkbox on the second level and it was already selected, then this keyword will become unselected. (Bug)
- If there is no checkbox under the cursor, no problem happens. (No bug)

Expected behavior: The category closes. No unintentional keywords are added. No keywords are removed.

My preferred solution: IMHO it would be a bit more user friendly if the Categories window would not refresh and there would be just empty space at the bottom, when you close a category in a situation described above. The user would not be confused by the changed tree.


Cheers,
Tango
Last edited by unqltango on Thu Jan 16, 2020 8:39 am, edited 2 times in total.

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

Re: 0.94.2 MP - Unwanted categories

Post by xnview » Tue Jan 14, 2020 12:23 pm

sorry but i'm not able to reproduce, could you make a video?
Pierre.

unqltango
Posts: 23
Joined: Sun Sep 01, 2019 8:16 am

Re: 0.94.2 MP - Unwanted categories

Post by unqltango » Tue Jan 14, 2020 5:06 pm

My steps weren't really good, I missed a reproduction step. Here is the requested video:

https://www.youtube.com/watch?v=Eby4tTz ... e=youtu.be

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

Re: 0.94.2 MP - Unwanted categories

Post by xnview » Wed Jan 15, 2020 12:43 pm

oh i understand, but it's not possible
Pierre.

unqltango
Posts: 23
Joined: Sun Sep 01, 2019 8:16 am

Re: 0.94.2 MP - Unwanted categories

Post by unqltango » Wed Jan 15, 2020 2:17 pm

xnview wrote:
Wed Jan 15, 2020 12:43 pm
oh i understand, but it's not possible
Sorry, I'm not sure what you mean. Is it not possible to fix this?

I really hoped it is a small issue with an easy fix, as it took me months to figure out where those unwanted categories came from to my photos. :)

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

Re: 0.94.2 MP - Unwanted categories

Post by xnview » Fri Jan 17, 2020 12:12 pm

i can't change this behavior
Pierre.

unqltango
Posts: 23
Joined: Sun Sep 01, 2019 8:16 am

Re: 0.94.2 MP - Unwanted categories

Post by unqltango » Fri Jan 17, 2020 2:10 pm

xnview wrote:
Fri Jan 17, 2020 12:12 pm
i can't change this behavior
If you can't change the mouse click behavior, that's OK.

How about changing the tree behavior? If the window wouldn't refresh, the mouse cursor wouldn't move away and wouldn't cause the problem.

Basically it should work as it does now when the user is not at the bottom of the category list (when the scrollbar is not at the bottom).

BR,
Tango

Post Reply