Small bugs in Parameters/vignette/labels dialog box

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

TesteurXnView
Posts: 9
Joined: Thu Jul 20, 2023 12:28 pm

Small bugs in Parameters/vignette/labels dialog box

Post by TesteurXnView »

Tested in XnViewMP 1.6.0 x64 on Windows 7/10/11. Found 3 small bugs (1a, 1b and 2).

1. Enable/disable of delete QPushButton (>) (allowing moving an item from the left/displayed list to the right/un-displayed list):

1a. When displaying the Parameters/Vignette/Labels box the delete button (>) is disabled on the first selection of an existing item in the left QWidgetList (this is the bug). Expected behavior: when an item is selected in the left list the delete button must be activated and delete the item if it's pushed. NOTES: The same button became activated after selecting any other item. In any case the double-click on the selected item will delete it.

1b. After using this button to delete a displayed label (moving to the right QWidgetList) there is no more a selection in the left list BUT the delete button is still enabled (and does nothing). Expected behavior: when there is no selection on the left list the delete button must be disabled.

2. Persistence of a newly deleted Custom item in the right list

After deleting an Custom item from the left QWidgetList, it will be displayed on the right list. BUT after closing the Parameters dialog box and then re-opening it, the deleted item or the previous item are not displayed in the right list.
This bug persist ONLY during the current session: if quitting XPViewMP the xnview.ini file is correctly updated and at the next launch all deleted items are correctly displayed on the right list.

Steps to reproduce the BUG:
- Open Parameters/vignette/labels dialog box and add Custom5 item from the right list to the left list, then pusk OK.
- Re-open Parameters/vignette/labels dialog box and remove the Custom5 item from the left list the push OK.
- Re-open Parameters/vignette/labels dialog box: the Custom5 is no more displayed in the right list for all the current session.
- BUT if you add or delete any new item the invisible item will be displayed again in the right list!
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Small bugs in Parameters/vignette/labels dialog box

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43833
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Small bugs in Parameters/vignette/labels dialog box

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.7.0. Please check and confirm the bug fix here.
Pierre.