Bug 411592

Summary: Selection highlight height does not match item height
Product: [Applications] dolphin Reporter: Noah Davis <noahadvs>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: elvis.angelaccio, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Overlapping highlight at 3x scaling
Overlapping highlight at 1x scaling
Cut off highlight+hover effect at 3x scaling
Overlapping highlight+cut off hover effect at 3x scaling

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