Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 489514

Summary: "Cancel current operation" red square not present when calling "Quick Hierarchy" second time
Product: [Eclipse Project] Platform Reporter: Piotr Findeisen <piotr.findeisen>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: akurtakov, daniel_megert, ericwill, noopur_gupta
Version: 4.5.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Shows the "Quick Hierarchy" progress with "Cancel current operation" red square icon missing. none

Description Piotr Findeisen CLA 2016-03-13 18:01:06 EDT
Created attachment 260274 [details]
Shows the "Quick Hierarchy" progress with "Cancel current operation" red square icon missing.

*** step

1. In a large project, navigate to j.l.Object.equals()
2. open "Quick Hierarchy" (Ctrl+T)
3. since this takes very very long (depending on the project size of course), there is the  "Cancel current operation" red square icon on the left of the progress bar in the window footer... Press it.
4. open "Quick Hierarchy" (Ctrl+T) once again
5. Now  "Cancel current operation" red square icon is missing

(I noticed the  "Cancel current operation" red square icon  reappears if a resize the window. But it's kinda impractical if the window is maximized. And i noticed this only after having killed my Eclipse doze of times because I could cancel.)
Comment 1 Noopur Gupta CLA 2016-03-14 02:49:37 EDT
I can't reproduce it on Windows 7 with Eclipse 4.5.2. Please specify the Linux and GTK version you are using.
Comment 2 Piotr Findeisen CLA 2016-03-14 16:46:32 EDT
Ubuntu 15.10

libgtk2.0-0:amd64                  2.24.28-1ubuntu1.1

What else information would be helpful?
Comment 3 Piotr Findeisen CLA 2016-03-14 16:53:10 EDT
Apologies, i should rather give version of GTK 3:

libgtk-3-0:amd64                   3.16.7-0ubuntu3

I'm *not* forcing SWT to use GTK 2.
Comment 4 Noopur Gupta CLA 2016-03-15 05:44:06 EDT
I can reproduce it on Ubuntu 14.04 with I20160314-2000.
Comment 5 Noopur Gupta CLA 2016-03-16 05:31:54 EDT
This used to work in Eclipse 4.4 and does not work in 4.5.
Comment 6 Noopur Gupta CLA 2016-03-21 05:50:08 EDT
(In reply to Noopur Gupta from comment #5)
> This used to work in Eclipse 4.4 and does not work in 4.5.

Tried Eclipse 4.5 with GTK 2 and it works. Looks like an issue with GTK 3.

Moving to Platform/SWT.
Comment 7 Alexander Kurtakov CLA 2017-12-15 15:24:05 EST
I have just tried it with Gtk 3.22 on Photon M4 and can't reproduce it . Is someone still seeing it?
Comment 8 Eric Williams CLA 2018-12-14 14:10:25 EST
(In reply to Alexander Kurtakov from comment #7)
> I have just tried it with Gtk 3.22 on Photon M4 and can't reproduce it . Is
> someone still seeing it?

No response in almost a year, closing this ticket now. Please reopen it if the issue is reproducible on GTK3.22/24 and SWT 4.10.