vasl-developers / vasl

Virtual Advanced Squad Leader
http://vasl.info/
GNU Lesser General Public License v2.1
66 stars 27 forks source link

Toolbar counter bug #1788

Open derimmer opened 1 month ago

derimmer commented 1 month ago

From Discord July 2024:

Another odd behavior is that the highlighting for "selected" can be partially erased. In this image the last item I dragged on map was the Prep Fire counter on the left. When I dropped it it was selected and enclosed in a red square. I then picked up another Prep Fire counter from the menu bar, and dragged it slightly toward the board then dropped it on the menu bar and got the square partially undrawn as you can see. This picture also shows the off-board alignment "continuum". I think this last is probably the expected behavior, but it is OCD-annoying while trying to set up units for entry. image

This appears to be linux specific as well. I could not replicate it in windows. This bug exists in VASL6.6.9-beta7.

uckelman commented 1 month ago

Can you bisect to find when this began? The problem is likely that you're getting the bounds of the marker wrong, so it's not repainted properly.

uckelman commented 1 month ago

The problem happens in 6.6.6. That's as far back as I've checked.

uckelman commented 1 month ago

Alternatively, can you reproduce this with another module?

derimmer commented 1 month ago

Can you bisect to find when this began? The problem is likely that you're getting the bounds of the marker wrong, so it's not repainted properly.

Sorry, I cannot use bisect here as I cannot replicate the problem in any way on my device. Regardless of VASL versions. I have only one report of this happening - which it clearly did as per the image in the OP.

If you have found it in 666 then it predates the BoardZoomer changes. My suggestion would be to leave this issue until we have more indications that it is significant. There are several other bugs that I would prefer to deal with as a higher priority.