[FIXED] error dialog for empty label name is not modal

Things you’d like to miss in the future...
Post Reply
bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

[FIXED] error dialog for empty label name is not modal

Post by bdeshi »

Go to Configuration> Tags > Labels List.
Try to empty out a label name, and an error dialog comes up saying "Empty tag names are not allowed."
However, I can simply ignore that dialog, put focus back to the config window and ok or cancel out of it. That error dialog still remains visible as a sad orphan. Also clicking OK on it at this state crashes XYplorer.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: error dialog for empty label name is not modal

Post by admin »

Indeed, a good find! :bug: :tup:

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: error dialog for empty label name is not modal

Post by bdeshi »

Thanks. Found another bug in the same place, so not making a new thread.

The delete button in that label list is unreliable. It is disabled by default, and only becomes active when the very last label is selected. At this state, repeatedly clicking it will keep deleting labels, but selecting any label but the last one disables it again.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: error dialog for empty label name is not modal

Post by admin »

That's actually on purpose. Labels can only be removed from the end of the list.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: [FIXED] error dialog for empty label name is not modal

Post by bdeshi »

Ah. Feels odd nonetheless. :whistle:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 60538
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: [FIXED] error dialog for empty label name is not modal

Post by admin »

An alternative would be to call the button "Remove Last Label", have it always enabled, and have it always work on the last Label regardless of the current selection. But that's odd, too.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: [FIXED] error dialog for empty label name is not modal

Post by bdeshi »

yeah.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply