Bug 414693

Summary: 1 pixel gap between side bar and image
Product: [Applications] gwenview Reporter: postix <postix>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, postix, sensorr
Priority: NOR    
Version: 19.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=414752
Latest Commit: Version Fixed In:
Attachments: Screenshot of the issue.
Video demonstrating the issue.

Description postix 2019-11-30 16:42:02 UTC
Created attachment 124213 [details]
Screenshot of the issue.

SUMMARY

There's sometimes a pixel gap between the side bar and image in the full screen mode. Please see screenshot.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.65.0
Qt Version: 5.13.2
Comment 1 SensoRR 2019-12-01 05:49:59 UTC
Hi Postix,

I am afraid I can't reproduce this bug on my end.
Can I also ask whether you can reproduce the bug consistently on your end as "sometimes" would suggest otherwise.
If you can reproduce it consistently, it would be great if you could provide step-by-step instructions on how to do so.
Let me know if the steps below are incorrect.

Steps I followed:

1. Opened Gwenview
2. Opened a recent folder and opened any image
3. Maximized Gwenview and also tried full screen when viewing the image
4. No gaps or random pixels as shown in your screenshot were visible

Tested With:
Operating System: Arch Linux 
KDE Plasma Version: 5.17.3
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Comment 2 postix 2019-12-01 09:48:08 UTC
Created attachment 124231 [details]
Video demonstrating the issue.

> I am afraid I can't reproduce this bug on my end.

I played around again and it can be triggered sometimes if when the user openes the side panel. I made a video to demonstrate it. You'll see the first two or so no bug was triggered but after that it stayed.
Comment 3 postix 2019-12-01 09:58:41 UTC
In  the demo video it's actually the bottom bar with the preview area which triggers the bug, when it becomes opened/closed. However, it also worked by opening or closing the side bar, which is probably equivalent to invoke the full screen mode as it automatically opens the side bar.


Edit: Sorry for the many typos in the post above. :)
Comment 4 postix 2019-12-01 11:03:42 UTC
I cannot reproduce it with a scaling factor of 2,0 but with a fractional scaling of 1,5. Can you please test it with that again, like in the video shown?
Comment 5 postix 2019-12-02 13:25:45 UTC
Do you need more information?
Comment 6 Nate Graham 2019-12-02 22:09:21 UTC
I wonder if this is/was fixed by https://phabricator.kde.org/D25611, which unfortunately just got reverted. :(
Comment 7 postix 2019-12-02 22:13:36 UTC
(In reply to Nate Graham from comment #6)
> I wonder if this is/was fixed by https://phabricator.kde.org/D25611, which
> unfortunately just got reverted. :(

Maybe you can friendly ask zzag to reproduce it first without and then with his  patch in order to narrow down the cause of this issue? :)
Comment 8 Nate Graham 2019-12-02 23:05:52 UTC
Yep I can confirm that it's the same issue; it's gone if I revert the reversion. Marking as a dupe. So once the feature eventually gets back in, this issue will be fixed in Gwenview too.

*** This bug has been marked as a duplicate of bug 360549 ***