← All bug reports

FS#2689Active layer selection changes without mouse click [Qt 6]

Type
Bug
Status
Closed
Resolution
Works for me
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.32.3
Operating system
Linux, Qt 6
Reported
2025-08-18 by bambuko
Closed
2025-08-18 by andrew

Just moving mouse cursor anywhere in Layer List window, without clicking anything changes active layer.
When I select layer to activate in Layer List window, the selection does not remain persistent.
Only affects 3.32.3.1 (Qt 6, development snapshot)
Reverting back to 3.32 "solves" the problem.
Don't have Win or Mac to confirm whether it affect these OS as well?

see also:
https://qcad.org/rsforum/viewtopic.php?f=32&t=11809

Comments (14)

andrew 2025-08-18

Unfortunately, this is not reproducible here on Linux or any other operating system with neither QCAD 3.32.3 nor QCAD 3.32.3.1.

We also haven't had any similar reports from other users.

Is there anything special about your system or input device such as a special type mouse or an alternative pointing device, multiple pointing devices, etc.?

bambuko 2025-08-18

So far only tried/tested by going version back (to 3.32)
Nothing has changed recently in either my OS or mouse.
Just bog standard mouse and no multiple pointing devices...
I will try different mouses and report back

bambuko 2025-08-18

an update:
tried different mouse - with the same result (in 3-32.2.1) (in 3.32.3.1)
moving mouse up and down Layer List window changes active layer without having to click anything.

System:
Kernel: 6.1.0-38-amd64 [6.1.147-1]
arch: x86_64 bits: 64
compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-38-amd64 root=UUID=<filter> ro quiet splash
Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm:
SDDM Distro: MX-23.6_KDE_x64 Libretto Jan
12 2025 base: Debian GNU/Linux 12 (bookworm)

andrew 2025-08-18

You are referring to 3.32.2.1 which is a Qt 6.x based development snapshot release. Did you also test with 3.32.2 (stable release, Qt 5.x based)?

bambuko 2025-08-18

sorry made mess of my versions...
yes I am back to 3.32.2
This is the only one that works OK for me

QCAD Professional
Version:
3.32.2.0 (3.32.2)
Internet: QCAD.org
Build Date: Feb 20 2025
Revision: 6616def
Qt Version: 5.14.2
Architecture: x86_64
Compiler: gcc 5.4.0

andrew 2025-08-18

OK, what about 3.32.3 (stable release, Qt 5.x based)? Thanks.

bambuko 2025-08-18

tested 3.32.3 (stable release, Qt 5.x based)
and it's OK as well

so it seems it is only Qt6 version that is affected.

andrew 2025-08-18

Thanks for the clarification.

bambuko 2025-08-18

and.. sorry for the confusion

andrew 2025-08-18

Just to be sure, we are talking about the same thing:

Does the current layer change (indicated by the pen symbol in the layer list) or does the layer selection change (indicated by the different background color of a selected layer or multiple selected layers)?

bambuko 2025-08-18

It is current layer change - pen symbol follows mouse as I move it up or down.
The only way to "prevent" it is to move mouse sideways in line with selected layer

andrew 2025-08-18

I cannot reproduce this even with MX Linux 23.6 KDE, so I will archive this as an unexplained oddity.

bambuko 2025-08-19

We have a solution, and an explanation why you couldn't replicate it.
It was something as simple as QCAD config file and the fact that I was running both Qt5 and Qt6 versions on the same PC.
When you tried it (same like I did when I tried it using live USB linux) there was no conflict between old and new config file because it was clean install.
The same happened when I re-installed MX (it also wiped out old config files).
So simply wiping out old Qt5 config files and starting clean with Qt6 solves it.
Thank you for your help

andrew 2025-08-19

I cannot think of a preference that would cause this behavior and I'm mixing Qt 5 and Qt 6 installations all the time. I will put this down as unexplained oddity.

Closure comment

Not reproducible