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

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
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: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: error dialog for empty label name is not modal

Post by admin »

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

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
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: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
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: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @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: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
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