Bug 568284 - [GTK] Cursor disappears
Summary: [GTK] Cursor disappears
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.17   Edit
Hardware: PC Linux
: P3 critical with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 569609 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-10-27 02:55 EDT by Henning Rohlfs CLA
Modified: 2022-11-13 15:31 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Rohlfs CLA 2020-10-27 02:55:04 EDT
Starting with eclipse 4.17.0 my cursor keeps disappearing similar to what is described in https://bugs.eclipse.org/bugs/show_bug.cgi?id=495220. The fix suggested there does not work however. This happens especially often when triggering code completion.

When the cursor is gone, hotkeys also do not work properly (e.g. saving the file or triggering code completion).

After eclipse loses focus and gains it again, the cursor comes back.

This happens so often (every minute or so), that I cannot use eclipse for my day-to-day work any more.


I'm not the only one either, here are other people experiencing the same:
https://stackoverflow.com/questions/58570511/the-cursor-randomly-disappears-in-eclipse-2019-09-and-sometimes-stops-writing
Comment 1 Alexander Kurtakov CLA 2020-10-27 03:22:22 EDT
So the issue doesn't happen with 4.16?
What is your OS? Which GTK version? Do you use X or Wayland? Which DE? Which Gtk theme?
Comment 2 Alexander Kurtakov CLA 2020-10-27 03:29:17 EDT
Btw, is the internal browser in eclipse working for you?
Comment 3 Alexander Kurtakov CLA 2020-10-27 03:29:35 EDT
Also which webkitgtk version do you have installed?
Comment 4 Henning Rohlfs CLA 2020-10-27 03:41:44 EDT
- internal browser is working
- it did not happen with 4.16

- debian buster
- X
- window manager is fluxbox

- gtk packages:
  - libgtk-3-0:amd64  3.24.5-1
  - libgtk2.0-0:amd64 2.24.32-3
  - libwebkit2gtk-4.0-37:amd64 2.28.4-1~deb10u1    
  - libwebkitgtk-3.0-0:amd64   2.4.11-3
Comment 5 Henning Rohlfs CLA 2020-10-27 03:55:39 EDT
I just remembered that I upgraded eclipse together with other package upgrades, so it may be related to changed gtk versions as well.
Comment 6 Alexander Kurtakov CLA 2020-10-27 03:57:15 EDT
(In reply to Henning Rohlfs from comment #5)
> I just remembered that I upgraded eclipse together with other package
> upgrades, so it may be related to changed gtk versions as well.

Does it mean you run eclipse from deb package? If yes would you please try with either the tarball from eclipse.org or https://flathub.org/apps/details/org.eclipse.Java which will give you system menues and etc. integration.
Comment 7 Henning Rohlfs CLA 2020-10-27 04:43:21 EDT
I installed eclipse from eclipse.org using the tar. I just happened to update multiple packages at the same time.
Comment 8 Henning Rohlfs CLA 2020-10-27 05:07:51 EDT
I'll try running via flatpak and report back whether that changes anything.
Comment 9 Henning Rohlfs CLA 2020-10-27 06:08:03 EDT
Update: bug still occurs, but feels like it is slightly less common.
Comment 10 technicianuser m CLA 2020-12-29 14:58:35 EST
Have reported the same issue with another testcase (code completion works fine at the same time)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=569609

Still reproduced on eclipse 4.18.
Comment 11 Andrey Loskutov CLA 2020-12-29 15:15:54 EST
*** Bug 569609 has been marked as a duplicate of this bug. ***
Comment 12 Mathieu Baudier CLA 2021-11-05 04:40:13 EDT
Same problem here on an up to date CentOS Stream 8, and on all downloaded Eclipse SDK after 2020-06 (so, I am back using this one).

webkit is the one provided by Red Hat:

$ sudo dnf list *webkit*
Installed Packages
webkit2gtk3.x86_64                 2.32.4-1.el8                       @appstream
webkit2gtk3-jsc.x86_64             2.32.4-1.el8                       @appstream
Comment 13 Denis Nikiforov CLA 2022-02-03 23:13:59 EST
I have a similar issue on Ubuntu 21.10. GNOME Shell restarting fixes it in my case. Press Alt+F2, enter command r (single character) and press Enter.