AlchemyViewer / Alchemy

Alchemy is a Second Life compatible viewer striving to be at the forefront of stability, performance, and technological advancement in the open-source metaverse viewer field.
https://www.alchemyviewer.org
GNU Lesser General Public License v2.1
27 stars 14 forks source link

[Bug]: Active build tool highlight not updating correctly #69

Open DarlCat opened 4 months ago

DarlCat commented 4 months ago

Environment

Alchemy Test 7.1.9.241801546 (64bit)

Second Life Preflight 2024-06-11.9458617693

CPU: AMD Ryzen 7 3800X 8-Core Processor (1977.87 MHz) Memory: 64220 MB Concurrency: 16 OS Version: Linux 6.9.7-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:27 +0000 x86_64 Graphics Card Vendor: NVIDIA Corporation Graphics Card: NVIDIA GeForce RTX 3090/PCIe/SSE2

Description

The active build tool highlight does not always update as expected when using keybinds (ctrl+1-5) to select the tool. This seems to happen when the tools are open, but there is not an active object selection. Build tools floater focus does not seem to be a factor, and the highlighting works as expected when clicking the respective buttons.

Video showing issue

https://github.com/AlchemyViewer/Alchemy/assets/4566791/0bfaf690-71c1-4788-accf-3c611e44cdc8

Reproduction steps

  1. Press Ctrl+4 to activate the create tool
  2. Press Ctrl+5 to active the terrain tool, notice the create tool stays highlighted
  3. Repeat step 2 and observe highlight does not update
  4. Select an object and repeat step 2 more, highlight updates as expected