Bug 471500 - White moving line beneath text input when app in focus using 150% scaling on Wayland
Summary: White moving line beneath text input when app in focus using 150% scaling on ...
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.04.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-27 12:25 UTC by tim
Modified: 2023-08-02 20:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video showcasing the bug during user input (75.21 KB, video/webm)
2023-06-27 12:25 UTC, tim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tim 2023-06-27 12:25:01 UTC
Created attachment 159926 [details]
Video showcasing the bug during user input

SUMMARY
Using 150% display scaling on Wayland, konsole renders a white line beneath the user's input that moves with every (or every other) keystroke.

STEPS TO REPRODUCE
1. Run KDE in a Wayland session.
2. Set display scaling to 150% on primary display.
3. Make sure konsole is running on primary display and is the focused application.
4. Enter text.

OBSERVED RESULT
Konsole renders a white underscore beneath the user's input

EXPECTED RESULT
Konsole does not render a white underscore beneath the user's input

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10 (built against 5.15.9)
Display driver: mesa 23.1.3-1 (AMD RX 6750 XT)

ADDITIONAL INFORMATION
I'm running a dual monitor setup with my primary display being a 4K display and my secondary being a 1080p display.
The primary monitor is set to 150% display scaling, the 1080p is at 100% (default). This issue only appears on the primary monitor and cannot be replicated on the second monitor. Furthermore, no modifications to konsole's default profile have been made. Konsole is running with its default settings. I've been experiencing this bug for about half a year now.

If you need any additional information or logs, please let me know. I'll happily provide anything that contributes to th
Comment 1 tim 2023-06-27 12:31:36 UTC
Running konsole at 150% display scaling in Wayland with NO other display connected results in the same behavior as seen above.

I couldn't replicate the issue with X11 set to 150% scaling.
Comment 2 Daniel Lovell 2023-07-19 10:54:15 UTC
I have been seeing the exact same graphical bug in Konsole with 175% scaling on my 4K monitor, but I don't see it on any other scaling on my monitor. I have the monitor connected to a laptop with a 1440p display, and regardless of what scaling I set it to on my laptop screen, I cannot see the bug. So for me it seems I can only reproduce the bug on 175% scaling on my 4K monitor in Wayland.
Comment 3 Daniel Lovell 2023-07-19 11:04:23 UTC
I should also add that my version of Konsole is 23.04.3, and I have seen this bug on both a fresh install of Fedora and Arch, with Konsole kept with its default settings and appearance.
Comment 4 tim 2023-08-02 13:33:50 UTC
(In reply to Daniel Lovell from comment #3)
> I should also add that my version of Konsole is 23.04.3, and I have seen
> this bug on both a fresh install of Fedora and Arch, with Konsole kept with
> its default settings and appearance.

Hey Daniel,

are you able to fully update your Arch install and report back with your results? I'm running the following versions at the moment:

Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.7-arch1-2 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6750 XT (mesa 23.1.4-2)
Konsole: 23.04.3

I haven't seen the bug in two days. There only two things I did this week:

1) Update to the latest KDE packages available in the Arch repos (a bunch of them were released a day or two ago)
2) Remove my second GPU (Nvidia GTX 1660 Super)

The reason why I initially had an Nvidia GPU in addition to my AMD graphics card was to setup NVENC but I never got around to it. I never had any Nvidia drivers installed on Arch so I didn't mention it in the bug report. Anyways, I removed the card and placed it in my second PC yesterday. That's when I noticed that the bug in Konsole doesn't appear anymore. Now, it's very much unlikely that the second GPU was causing this issue and it's much more probable one of the recent KDE updates fixed it and I simply didn't notice it, but you know...

So on the off chance that you're running a similarly unusual setup as I did until yesterday; maybe that's something to check as well.
Comment 5 Daniel Lovell 2023-08-02 16:27:43 UTC
(In reply to tim from comment #4)
> (In reply to Daniel Lovell from comment #3)
> > I should also add that my version of Konsole is 23.04.3, and I have seen
> > this bug on both a fresh install of Fedora and Arch, with Konsole kept with
> > its default settings and appearance.
> 
> Hey Daniel,
> 
> are you able to fully update your Arch install and report back with your
> results? I'm running the following versions at the moment:
> 
> Operating System: Arch Linux 
> KDE Plasma Version: 5.27.7
> KDE Frameworks Version: 5.108.0
> Qt Version: 5.15.10
> Kernel Version: 6.4.7-arch1-2 (64-bit)
> Graphics Platform: Wayland
> Graphics Processor: AMD Radeon RX 6750 XT (mesa 23.1.4-2)
> Konsole: 23.04.3
> 
> I haven't seen the bug in two days. There only two things I did this week:
> 
> 1) Update to the latest KDE packages available in the Arch repos (a bunch of
> them were released a day or two ago)
> 2) Remove my second GPU (Nvidia GTX 1660 Super)
> 
> The reason why I initially had an Nvidia GPU in addition to my AMD graphics
> card was to setup NVENC but I never got around to it. I never had any Nvidia
> drivers installed on Arch so I didn't mention it in the bug report. Anyways,
> I removed the card and placed it in my second PC yesterday. That's when I
> noticed that the bug in Konsole doesn't appear anymore. Now, it's very much
> unlikely that the second GPU was causing this issue and it's much more
> probable one of the recent KDE updates fixed it and I simply didn't notice
> it, but you know...
> 
> So on the off chance that you're running a similarly unusual setup as I did
> until yesterday; maybe that's something to check as well.

I updated my system just now so I am now using Plasma version 1.27.7, and I appear to no longer get the graphical bug in Konsole. So it seems that it's the update that has fixed the issue. Thanks for letting me know about the update.
Comment 6 tim 2023-08-02 20:48:31 UTC
(In reply to Daniel Lovell from comment #5)
> (In reply to tim from comment #4)
> > (In reply to Daniel Lovell from comment #3)
> > > I should also add that my version of Konsole is 23.04.3, and I have seen
> > > this bug on both a fresh install of Fedora and Arch, with Konsole kept with
> > > its default settings and appearance.
> > 
> > Hey Daniel,
> > 
> > are you able to fully update your Arch install and report back with your
> > results? I'm running the following versions at the moment:
> > 
> > Operating System: Arch Linux 
> > KDE Plasma Version: 5.27.7
> > KDE Frameworks Version: 5.108.0
> > Qt Version: 5.15.10
> > Kernel Version: 6.4.7-arch1-2 (64-bit)
> > Graphics Platform: Wayland
> > Graphics Processor: AMD Radeon RX 6750 XT (mesa 23.1.4-2)
> > Konsole: 23.04.3
> > 
> > I haven't seen the bug in two days. There only two things I did this week:
> > 
> > 1) Update to the latest KDE packages available in the Arch repos (a bunch of
> > them were released a day or two ago)
> > 2) Remove my second GPU (Nvidia GTX 1660 Super)
> > 
> > The reason why I initially had an Nvidia GPU in addition to my AMD graphics
> > card was to setup NVENC but I never got around to it. I never had any Nvidia
> > drivers installed on Arch so I didn't mention it in the bug report. Anyways,
> > I removed the card and placed it in my second PC yesterday. That's when I
> > noticed that the bug in Konsole doesn't appear anymore. Now, it's very much
> > unlikely that the second GPU was causing this issue and it's much more
> > probable one of the recent KDE updates fixed it and I simply didn't notice
> > it, but you know...
> > 
> > So on the off chance that you're running a similarly unusual setup as I did
> > until yesterday; maybe that's something to check as well.
> 
> I updated my system just now so I am now using Plasma version 1.27.7, and I
> appear to no longer get the graphical bug in Konsole. So it seems that it's
> the update that has fixed the issue. Thanks for letting me know about the
> update.

Thank YOU for getting back to me so quickly. I will close this bug report as resolved.