Bug 482052 - Cursor shape for text may not change, and stay as arrow
Summary: Cursor shape for text may not change, and stay as arrow
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.93.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-29 15:55 UTC by Igor Mironchik
Modified: 2024-03-04 14:51 UTC (History)
2 users (show)

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 Igor Mironchik 2024-02-29 15:55:01 UTC
SUMMARY
Cursor shape for text may not change, and stay as arrow


STEPS TO REPRODUCE
1. Open a project in system's QtCreator, try to code
2. Invoke auto-completion popup, change focus to it, and to text
3. 

OBSERVED RESULT
Cursor shape may not change back to one for text, I need to hover a file tree on left side and go back to text field.
I observe this wrong behaviour in different applications, in Menu Editor, for example.


EXPECTED RESULT
Cursor shape should change correctly and immediately.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 6
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-03-01 06:35:49 UTC
Do you have an NVIDIA GPU, by any chance?
Comment 2 Igor Mironchik 2024-03-01 06:41:06 UTC
No, I'm on Intel integrated GPU. Intel Core i5 7th Gen.

Kernel Version: 6.5.0-21-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 640 G3
Comment 3 Nate Graham 2024-03-03 00:50:32 UTC
Thanks.
Comment 4 Vlad Zahorodnii 2024-03-04 09:11:25 UTC
> Graphics Platform: X11

Is this correct?
Comment 5 Igor Mironchik 2024-03-04 09:16:36 UTC
(In reply to Vlad Zahorodnii from comment #4)
> > Graphics Platform: X11
> 
> Is this correct?

No, guess, no. I caught a lot of these issues on Wayland. And due to other blocking issues on Wayland, I switched to X11. Info was copied from X11 session, but problem most occurred on Wayland. on X11, if I remember everything right, I didn't see this issue.
Comment 6 Vlad Zahorodnii 2024-03-04 09:18:34 UTC
While you're on X11, can you stop kwin_x11 (systemctl --user stop plasma-kwin_x11) and check if the issue is still reproducible?

After you've finished, run systemctl --user start plasma-kwin_x11 to start back kwin
Comment 7 Igor Mironchik 2024-03-04 09:33:27 UTC
(In reply to Vlad Zahorodnii from comment #6)
> While you're on X11, can you stop kwin_x11 (systemctl --user stop
> plasma-kwin_x11) and check if the issue is still reproducible?
> 
> After you've finished, run systemctl --user start plasma-kwin_x11 to start
> back kwin

I didn't understand where should I check, on Wayland with stopped kwin_x11, or on X11 with stopped kwin_x11?

In anyway, I guess, that with recent updates this issue is gone. I'm unable to reproduce anymore either on X11 nor on Wayland.
Comment 8 Zamundaaa 2024-03-04 14:51:33 UTC
FWIW I've seen this issue happen before with KDevelop and Kate, and can also no longer reproduce it. I think it's been fixed in Qt.