Bug 412348 - Scrollbar floats to the left in i3, without Plasma.
Summary: Scrollbar floats to the left in i3, without Plasma.
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: master
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-26 05:28 UTC by poseidon
Modified: 2019-10-17 00:44 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 19.12.0


Attachments
konsole, light color scheme, i3 (9.35 KB, image/png)
2019-10-14 14:42 UTC, poseidon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description poseidon 2019-09-26 05:28:52 UTC
STEPS TO REPRODUCE
1. Put konsole in full screen.
2. Run 'yes' for a moment.
3. Move the mouse all the way to the right side of the screen.
4. Hold left click and drag the mouse up.

OBSERVED RESULT
Text is selected

EXPECTED RESULT
The scrollbar moves.

SOFTWARE/OS VERSIONS
Linux, konsole 19.11.70 962776796e6f71b53e2f0ca18cc207a27fcb12cc
i3 window manager.
Has happened with all widget styles I tested.
You can see the scrollbar is clearly floating if you change your color theme.
Comment 1 Kurt Hindenburg 2019-10-06 15:38:35 UTC
A quick video or gifs should be helpful in these cases.  I can't reproduce in plasma.  I'll have to try in a non-plasma desktop.
Comment 2 Nate Graham 2019-10-06 22:07:47 UTC
Also cannot reproduce in Plasma.
Comment 3 Benji Dial 2019-10-14 04:08:45 UTC
I was not able to reproduce this in Plasma, but I was able to in i3.  It seems there are a few pixels to the right of the scrollbar that are not part of the scrollbar.  At first I thought this was just a problem with i3, but I tested the XFCE4 Terminal as well, and it works fine in fullscreen in i3 so it seems this is a problem with Konsole specifically, but only in i3.
Comment 4 poseidon 2019-10-14 14:38:06 UTC
I can reproduce this in a bare X server by running

    (sleep 1; DISPLAY=:2 konsole) & X :2

in a virtual console.
Comment 5 poseidon 2019-10-14 14:42:22 UTC
Created attachment 123182 [details]
konsole, light color scheme, i3
Comment 6 Mariusz Glebocki 2019-10-14 22:26:17 UTC
It happens also with Breeze and Fusion. Bug in code. Fix:
https://invent.kde.org/kde/konsole/merge_requests/40
Comment 7 poseidon 2019-10-15 09:55:40 UTC
That fix works; thanks!
Comment 8 Kurt Hindenburg 2019-10-16 01:39:37 UTC
committed in ef13a09e
Comment 9 Kurt Hindenburg 2019-10-17 00:44:52 UTC
Git commit 77ce0888d82ef9ee185e935d10b8a8869db6f989 by Kurt Hindenburg, on behalf of Mariusz Glebocki.
Committed on 17/10/2019 at 00:43.
Pushed by hindenburg into branch 'Applications/19.08'.

Fix scrollbar position
(cherry picked from commit ef13a09e0178317e40076905ef9cef6efbc99598)

M  +1    -1    src/TerminalDisplay.cpp

https://invent.kde.org/kde/konsole/commit/77ce0888d82ef9ee185e935d10b8a8869db6f989
Comment 10 Kurt Hindenburg 2019-10-17 00:44:57 UTC
Git commit 77ce0888d82ef9ee185e935d10b8a8869db6f989 by Kurt Hindenburg, on behalf of Mariusz Glebocki.
Committed on 17/10/2019 at 00:43.
Pushed by scmsync into branch 'Applications/19.08'.

Fix scrollbar position
(cherry picked from commit ef13a09e0178317e40076905ef9cef6efbc99598)

M  +1    -1    src/TerminalDisplay.cpp

https://commits.kde.org/konsole/77ce0888d82ef9ee185e935d10b8a8869db6f989