Bug 411592 - Selection highlight height does not match item height
Summary: Selection highlight height does not match item height
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-04 14:52 UTC by Noah Davis
Modified: 2019-09-05 16:38 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Overlapping highlight at 3x scaling (9.95 KB, image/png)
2019-09-04 14:52 UTC, Noah Davis
Details
Overlapping highlight at 1x scaling (2.28 KB, image/png)
2019-09-04 14:54 UTC, Noah Davis
Details
Cut off highlight+hover effect at 3x scaling (8.97 KB, image/png)
2019-09-04 15:00 UTC, Noah Davis
Details
Overlapping highlight+cut off hover effect at 3x scaling (10.04 KB, image/png)
2019-09-04 15:02 UTC, Noah Davis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Noah Davis 2019-09-04 14:52:50 UTC
Created attachment 122485 [details]
Overlapping highlight at 3x scaling

SUMMARY
The height of selection highlights in the places panel and view-engine do not match the height of the selected items. This causes visual glitches where the bottom of a highlight is cut off or overlaps with the item below it. At 96 DPI/1x scaling, the height appears to be 1 pixel too large.

STEPS TO REPRODUCE
1. Select an item in the places panel or view-engine

OBSERVED RESULT
The highlight is too tall

EXPECTED RESULT
The highlight should be exactly the same height as the item

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20190902
KDE Plasma Version: 5.16.80 (git master)
KDE Frameworks Version: 5.62.0 (git master)
KDE Applications Version: 19.11.70 (git master)
Qt Version: 5.13.0
Kernel Version: 5.2.10-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-6500U CPU @ 2.50GHz
Memory: 7.6 GiB of RAM


ADDITIONAL INFORMATION
This does not happen 100% of the time, possibly 50% of the time. You may have to select a different item a few items to reproduce the bug.
Comment 1 Noah Davis 2019-09-04 14:54:57 UTC
Created attachment 122486 [details]
Overlapping highlight at 1x scaling
Comment 2 Noah Davis 2019-09-04 15:00:52 UTC
Created attachment 122487 [details]
Cut off highlight+hover effect at 3x scaling

This screenshot uses a modified version of Breeze (https://cgit.kde.org/breeze.git/log/?h=ndavis/highlight). The lack of antialiasing on the hover effect outline is a separate issue that seems to only happen in Dolphin.
Comment 3 Noah Davis 2019-09-04 15:02:14 UTC
Created attachment 122488 [details]
Overlapping highlight+cut off hover effect at 3x scaling