Bug 500353

Summary: Room selected states are doubled when using both tablet and mouse
Product: [Applications] NeoChat Reporter: Kath <krazykath>
Component: GeneralAssignee: Tobias Fella <fella>
Status: REPORTED ---    
Severity: normal CC: carl, josh
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Two rooms with a selected state

Description Kath 2025-02-18 21:57:57 UTC
Created attachment 178551 [details]
Two rooms with a selected state

SUMMARY
The selected state of which room you are viewing is not reset when switching between tablet to mouse, resulting in two rooms appearing "open".
This is only reset with restarting NeoChat

STEPS TO REPRODUCE
1. Have a digital tablet plugged in
2. Using the tablet pen, click on a room to view it
3. Using a mouse, click on a different room

OBSERVED RESULT
Two rooms have the selected state

EXPECTED RESULT
Only the current room you are viewing shows as selected

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1080 Ti

ADDITIONAL INFORMATION
Wacom Intuos Small - CTH-490/K
NeoChat version 24.12.2
Comment 1 Kath 2025-12-10 20:32:35 UTC
Confirming that this still happens 

NeoChat 25.08.3

Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.10-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i9-9900K CPU @ 3.60GHz
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor: AMD Radeon RX 6800
Wacom Intuos Small - CTH-490/K