Bug 563555 - [GTK] Closing Shell shows annoying "is ready" popup on GNOME
Summary: [GTK] Closing Shell shows annoying "is ready" popup on GNOME
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.16   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.17 M1   Edit
Assignee: Alexandr Miloslavskiy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-25 10:49 EDT by Alexandr Miloslavskiy CLA
Modified: 2020-11-13 06:59 EST (History)
3 users (show)

See Also:


Attachments
Repro snippet (1.62 KB, text/plain)
2020-05-25 10:58 EDT, Alexandr Miloslavskiy CLA
no flags Details
Video showing the problem (96.62 KB, image/gif)
2020-05-25 11:24 EDT, Alexandr Miloslavskiy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Miloslavskiy CLA 2020-05-25 10:49:22 EDT

    
Comment 1 Alexandr Miloslavskiy CLA 2020-05-25 10:58:17 EDT
Created attachment 283008 [details]
Repro snippet
Comment 2 Alexandr Miloslavskiy CLA 2020-05-25 10:59:25 EDT
Reverting Bug 371545 solves this problem.
Comment 3 Alexandr Miloslavskiy CLA 2020-05-25 11:24:20 EDT
Created attachment 283009 [details]
Video showing the problem
Comment 4 Alexandr Miloslavskiy CLA 2020-05-25 12:53:47 EDT
I have tested on other Ubuntu versions:

20.04 - problem present
19.10 - problem present
18.10 - problem present
18.04 - good
16.04 - good
Comment 5 Alexandr Miloslavskiy CLA 2020-05-25 14:35:00 EDT
I seem to have good results by removing `Shell#fixActiveShell()` completely. I expect to submit a patch tomorrow.
Comment 6 Eclipse Genie CLA 2020-05-26 14:26:57 EDT
New Gerrit change created: https://git.eclipse.org/r/163633
Comment 7 Andrey Loskutov CLA 2020-05-26 15:03:37 EDT
I think the code was so long there, we should not remove it in 4.16 (now in RC1). Please ping me once 4.17 starts.
Comment 8 Alexandr Miloslavskiy CLA 2020-05-26 15:05:08 EDT
The problem is triggered by Bug 371545 which is rather recent.
Comment 9 Andrey Loskutov CLA 2020-05-26 15:09:14 EDT
(In reply to Alexandr Miloslavskiy from comment #8)
> The problem is triggered by Bug 371545 which is rather recent.

But the code is removed by the patch is from 3.0 Eclipse...

Nothing against the patch, but shell focus / activation issues can be subtle, and having that in RC1 could make me nervous at least.
Comment 10 Alexandr Miloslavskiy CLA 2020-05-26 15:09:47 EDT
ok
Comment 11 Alexandr Miloslavskiy CLA 2020-06-08 11:12:12 EDT
@Andrey Loskutov it seems that 4.17 has started?
Comment 12 Andrey Loskutov CLA 2020-06-09 05:45:46 EDT
(In reply to Alexandr Miloslavskiy from comment #11)
> @Andrey Loskutov it seems that 4.17 has started?

Yep, I've rebased your commit, and plan to merge today.
Comment 14 Alexandr Miloslavskiy CLA 2020-06-09 06:48:15 EDT
Thanks!
Comment 15 Eclipse Genie CLA 2020-11-05 07:25:08 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171810
Comment 16 Eclipse Genie CLA 2020-11-13 05:04:08 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172195