Bug 410639 - [Regression] Konsole scrolls at the bottom if unfocused with Win-logo held
Summary: [Regression] Konsole scrolls at the bottom if unfocused with Win-logo held
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 19.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-06 07:28 UTC by Konstantin Kharlamov
Modified: 2019-08-22 17:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kharlamov 2019-08-06 07:28:44 UTC
SUMMARY

Since yesterday update I found it impossible to switch a window from Konsole to e.g. text editor without Konsole scrolling down at the bottom. (I'm using hotkeys to switch between windows).

STEPS TO REPRODUCE
1. Execute in Konsole `dmesg`, so you have lots of text
2. Scroll at the top
3. Hold Win-logo key, and focus another app (either by using a hotkey in combination with Win-logo, or if you have enabled focus on cursor movement, simply move the cursor over to another app).

OBSERVED RESULT

Konsole, after gets unfocused, scrolls at the bottom.

EXPECTED RESULT

Nothing.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux, repro both in Plasma 5.16 and pure i3wm
KDE Plasma Version: 5.16
KDE Frameworks Version: 5.60.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION

Oddly enough, Ctrl and Alt keys are not affected.

Reproduced both in Plasma 5.16 and pure i3wm.
Comment 1 Konstantin Kharlamov 2019-08-06 07:39:14 UTC
UPD: so, I'm trying to find which version worked, so I could downgrade for now, and turned out that even as far back as 19.04.0 version doesn't work. Now, this is odd. I wonder if it's a bug somewhere else, e.g. in Qt.
Comment 2 Konstantin Kharlamov 2019-08-06 07:47:24 UTC
So, I'm trying to test Qt-5.12, I installed a bunch of 5.12 packages from cache, but now upon running Konsole I'm getting a bunch of "/usr/lib/libQt5Core.so.5: version `Qt_5.13` not found". I don't know how to test that.
Comment 3 Konstantin Kharlamov 2019-08-06 08:18:08 UTC
UPDATE: 

So, good news, at least for now I managed to make it work. However, because of mutual dependencies, I had to downgrade both Qt down to 5.12 and and all KDE package from *5.60.0* down to *5.59.0*.
Comment 4 Konstantin Kharlamov 2019-08-06 10:13:53 UTC
FTR, I just asked in forum about downgrading¹, and it seems it looks like a minor inconvenience.

Just wanted to tell that it's not, it's a real deal, because when I work with code, I need to see the output of Konsole and the text editor on different screens. And what happens right now is that when I switch to text editor from Konsole, I can't see the output anymore.

1: https://bbs.archlinux.org/viewtopic.php?pid=1857310#p1857310
Comment 5 Konstantin Kharlamov 2019-08-08 22:54:17 UTC
New info: I found out that QTerminal is affected by the same problem. However, it behaves odd there: after following the steps-to-reproduce, it keeps showing the same frame of text, it's only the slider that falls down. I.e. the frame of text shown and the position of slider diverge, and get back on track only after doing some movement, like pressing Shift+PgUp.
Comment 6 Konstantin Kharlamov 2019-08-18 23:08:32 UTC
Yay, after today update it started working! Hard to say what fixed it, but given I didn't reboot before I noticed it, that likely was update of one of libraries Konsole is linked with.
Comment 7 Konstantin Kharlamov 2019-08-19 07:18:16 UTC
Hmm, nvm, my rejoice was too premature. I use 2 laptops (at home and at work), and while at home upgrade fixed the problem, however it didn't help with the one at work. The only difference is that at home I run KDE (with kwin-tiling extension), while at work it's i3wm.
Comment 8 Konstantin Kharlamov 2019-08-22 17:39:24 UTC
(In reply to Konstantin Kharlamov from comment #7)
> Hmm, nvm, my rejoice was too premature. I use 2 laptops (at home and at
> work), and while at home upgrade fixed the problem, however it didn't help
> with the one at work. The only difference is that at home I run KDE (with
> kwin-tiling extension), while at work it's i3wm.

Okay, turned out the problem is fixed on master. Somehow, I missed that my local konsole binary was from master, not from the package, which made me think it was distro update that fixed it. Apparently I moved built konsole into /usr/bin after a fix I sent a week ago, so I could immediately use it.

Works at commit 74a01214