Bug 433710 - wrong character in detail popup box on hidpi screen
Summary: wrong character in detail popup box on hidpi screen
Status: REPORTED
Alias: None
Product: kfontview
Classification: Applications
Component: general (show other bugs)
Version: 5.21.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-27 17:18 UTC by oldherl
Modified: 2021-02-27 17:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the wrong character (276.13 KB, image/png)
2021-02-27 17:18 UTC, oldherl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description oldherl 2021-02-27 17:18:50 UTC
Created attachment 136234 [details]
screenshot of the wrong character

SUMMARY

Point the mouse cursor to the characters when viewing a particular Unicode block. A detail box pops out to show the character under the mouse cursor. But it is the wrong character on my hidpi (2x) screen, and it's about half the distance between the mouse cursor and the origin porint (top-left corner).

STEPS TO REPRODUCE
1. Use a hi-dpi (2x) screen setting.
2. Open a font with many characters in kfontview. For example, any of the Noto Sans CJK font family.
3. Select a Unicode block with many characters.
4. Point the mouse cursor to a character and see the popup detail box.

OBSERVED RESULT

The character in the detail box is the one approximately at the middle of the top-left corner and the cursor. See the attachment. The character in the orange circle is not the one under the cursor (in the blue circle).

EXPECTED RESULT

The character in the popup box should be the one under the cursor (the blue one).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
Arch Linux
(available in About System)
KDE Plasma Version: 5.21.1
KDE Frameworks 5.79.0
Qt 5.15.2 (built against 5.15.2)
The xcb windowing system

ADDITIONAL INFORMATION