Bug 519370 - OS cursor is still visible when preview magnifier tool is active, obscuring the magnified content
Summary: OS cursor is still visible when preview magnifier tool is active, obscuring t...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Preview-Image (other bugs)
Version First Reported In: 9.1.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-24 16:33 UTC by griffiths_andy
Modified: 2026-04-25 02:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.1.0
Sentry Crash Report:


Attachments
Screenshot showing mouse pointer at the centre of magnifier (308.37 KB, image/png)
2026-04-24 16:33 UTC, griffiths_andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description griffiths_andy 2026-04-24 16:33:07 UTC
Created attachment 191770 [details]
Screenshot showing mouse pointer at the centre of magnifier

SUMMARY
The OS mouse pointer is still visible when preview magnifier tool is active, obscuring the magnified content. This can be an issue when the magnifier tool is set to small size, as the mouse pointer then takes up most of the magnified area.

STEPS TO REPRODUCE
1. In preview, select the magnifier from the toolbar
2. Move over the image
3. Note that the mouse pointer stays at the middle of the magnifier

OBSERVED RESULT
When the magnifier circle is active, that is, on the image and not over the toolbar or any other interface element, the mouse pointer is still visible.

EXPECTED RESULT
The mouse pointer should be hidden when the magnifier circle is active on an image. It should reappear when the magnifier circle disappears when moved off the image.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 26.3.1
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 6.11.0

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2026-04-24 17:22:28 UTC
The behavior is normal as you need to know where the magnifier point over the canvas.
Comment 2 Maik Qualmann 2026-04-24 18:36:19 UTC
No, definitely do not hide the mouse cursor.

Maik
Comment 3 griffiths_andy 2026-04-24 18:45:39 UTC
Points taken, but I'd suggest you know where the pointer position is, as it is in the middle of the magnifier circle. Unless the magnifier has some use in another function, e.g. sampling a pixel for white balance, then having a very obvious pointer in the middle of the magnifier circle is only acting as an obscuration. To see what is at the centre of the magnifier at present, one has to position the magnifier off-centre.

At present, once the magnifier is moved off the image, the magnifier disappears and one is just left with the mouse pointer. All I'm suggesting is a flip between the two states when the mouse is actually on the image while the magnifier is active.

As a compromise, maybe the pointer could be changed to something like a semi transparent cross in the middle of the magnifier. Then you still know where the centre point is, and the image is not obscured like in the provided example.
Comment 4 caulier.gilles 2026-04-25 02:01:59 UTC
Git commit ca146ef8b23d8dd5f72482e2d167a64ccb45336f by Gilles Caulier.
Committed on 25/04/2026 at 01:59.
Pushed by cgilles into branch 'master'.

Set cross cursor over magnifier when it's active.
FIXED-IN: 9.1.0

M  +2    -0    core/libs/widgets/graphicsview/graphicsdimgview_events.cpp
M  +1    -0    core/libs/widgets/graphicsview/graphicsdimgview_p.h

https://invent.kde.org/graphics/digikam/-/commit/ca146ef8b23d8dd5f72482e2d167a64ccb45336f