Bug 427393 - Splash is blank after Workspace Launcher dialog appears
Summary: Splash is blank after Workspace Launcher dialog appears
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: PC Linux
: P3 major with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 414218 450034 573979 (view as bug list)
Depends on:
Blocks: 455162
  Show dependency tree
 
Reported: 2014-02-04 12:45 EST by Denis Golovin CLA
Modified: 2021-06-04 08:03 EDT (History)
13 users (show)

See Also:


Attachments
Sreenshot of blank splash behind Workspace Selection dialog (35.72 KB, image/png)
2014-02-04 12:45 EST, Denis Golovin CLA
no flags Details
spash screen on front of workspace selection (38.95 KB, image/png)
2019-07-04 04:26 EDT, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Golovin CLA 2014-02-04 12:45:13 EST
Created attachment 239626 [details]
Sreenshot of blank splash behind Workspace Selection dialog

When eclipse starts it shows Luna splash screen, but when Workspace selection dialog pops up splash gets blank.
Comment 1 Alexander Kurtakov CLA 2014-02-07 02:16:10 EST
Which distribution? Which Gtk version do you use? Any detail is helpful
Comment 2 Denis Golovin CLA 2014-02-07 03:21:55 EST
Ubuntu 13.10 (saucy) x86_64
Oracle JVM 1.7.0_51
GTK+3.0 ver. 3.8.6-0ubuntu3.1
Comment 3 Arun Thondapu CLA 2014-02-13 00:15:55 EST
(In reply to Denis Golovin from comment #2)
> Ubuntu 13.10 (saucy) x86_64
> Oracle JVM 1.7.0_51
> GTK+3.0 ver. 3.8.6-0ubuntu3.1

Denis, which Eclipse build is this? Does this problem happen every time you launch?

Niraj, can you please try this? Thanks!
Comment 4 Denis Golovin CLA 2014-02-13 01:16:30 EST
(In reply to Arun Thondapu from comment #3)
> (In reply to Denis Golovin from comment #2)
> > Ubuntu 13.10 (saucy) x86_64
> > Oracle JVM 1.7.0_51
> > GTK+3.0 ver. 3.8.6-0ubuntu3.1
> 
> Denis, which Eclipse build is this? Does this problem happen every time you
> launch?
> 
> Niraj, can you please try this? Thanks!

It is Luna m5, but I have the same for Luna m4. It is not critical, but it just looks not good and happens every start.
Comment 5 Niraj Modi CLA 2014-02-13 05:47:27 EST
(In reply to Arun Thondapu from comment #3)
> (In reply to Denis Golovin from comment #2)
> > Ubuntu 13.10 (saucy) x86_64
> > Oracle JVM 1.7.0_51
> > GTK+3.0 ver. 3.8.6-0ubuntu3.1
> 
> Denis, which Eclipse build is this? Does this problem happen every time you
> launch?
> 
> Niraj, can you please try this? Thanks!

I could notice this issue when Eclipse stops for Workspace location, tried with 4.4 M5 & 4.2.1 builds.

One way to reproduce this is by launching Eclipse twice on the same workspace location. So, during the second launch, eclipse will popup with "Workspace Unavailable" message and it will ask you to choose a different workspace location and the Splash screen goes blank.
As soon as you specify a valid workspace location, the standard Splash screen comes back.

This issue can be seen on Ubuntu 12 as well, with both GTK2 & GTK3 combinations.
To me, this might require some fix in the launcher workflow on Linux.
Comment 6 Arun Thondapu CLA 2014-11-05 05:17:58 EST
*** Bug 450034 has been marked as a duplicate of this bug. ***
Comment 7 Sergey Prigogin CLA 2014-11-05 13:59:29 EST
(In reply to Arun Thondapu from comment #6)
> *** Bug 450034 has been marked as a duplicate of this bug. ***

The issue is 100% reproducible as long as the Workspace Selection dialog is enabled.
Ubuntu 14.04 LTS
GTK 2.24.23 (GTK 3 is disabled by SWT_GTK3=0)
Comment 8 Eclipse Genie CLA 2015-03-24 19:25:36 EDT
New Gerrit change created: https://git.eclipse.org/r/44545
Comment 9 Andrey Loskutov CLA 2015-03-24 19:31:00 EDT
(In reply to Eclipse Genie from comment #8)
> New Gerrit change created: https://git.eclipse.org/r/44545

The fix works for Fedora 21, both gtk 2 and gtk 3.
[andrey@Pinguin ~]$ rpm -q gtk3
gtk3-3.14.9-1.fc21.x86_64
[andrey@Pinguin ~]$ rpm -q gtk2
gtk2-2.24.27-1.fc21.x86_64

I have not tested this patch on other platforms, so it would be nice if someone could do this.

I've also increased the severity because on Linux this ugly thing in front of the prompt is the *first* Eclipse UI user sees.
Comment 10 Lars Vogel CLA 2015-03-24 21:37:30 EDT
(In reply to Andrey Loskutov from comment #9)
> I have not tested this patch on other platforms, so it would be nice if
> someone could do this.

I cannot reproduce the issue on Ubuntu 14.10.

> I've also increased the severity because on Linux this ugly thing in front
> of the prompt is the *first* Eclipse UI user sees.

Adding Dani, as he merged the fix for Bug 429308.
Comment 12 Dani Megert CLA 2015-04-09 08:45:23 EDT
(In reply to Lars Vogel from comment #10)
> Adding Dani, as he merged the fix for Bug 429308.

Sorry to chime in late. Though this is really an OS or SWT issue, I'm fine with the fix, but would prefer if you restore the alpha value to it's original value (shell.getAlpha()), instead of 255.
Comment 13 Eclipse Genie CLA 2015-04-09 18:39:11 EDT
New Gerrit change created: https://git.eclipse.org/r/45604
Comment 14 Andrey Loskutov CLA 2015-04-09 18:45:13 EDT
(In reply to Eclipse Genie from comment #13)
> New Gerrit change created: https://git.eclipse.org/r/45604

(In reply to Dani Megert from comment #12)
> (In reply to Lars Vogel from comment #10)
> > Adding Dani, as he merged the fix for Bug 429308.
> 
> Sorry to chime in late. Though this is really an OS or SWT issue, I'm fine
> with the fix, but would prefer if you restore the alpha value to it's
> original value (shell.getAlpha()), instead of 255.

Right. While playing with the proposed change I found even better solution, which properly fixes this bug and bug 455162 and restores the previously not shown progress bar in the splash (bug 455162 comment 8). Also if the workspace selection was wrong and we show an error, gray rectangle was *also* shown behind the error popups - and this is fixed now too!

Please review https://git.eclipse.org/r/45604 and check if this works on Windows/Mac/Linux Gnome too.

On Fedora 21 KDE it workspace prompt dialog now as expected - no gray rectangles anymore!
Comment 16 Andrey Loskutov CLA 2015-04-12 01:41:52 EDT
(In reply to Eclipse Genie from comment #13)
> New Gerrit change created: https://git.eclipse.org/r/45604

The change is available in http://download.eclipse.org/eclipse/downloads/drops4/N20150411-1500/

On Fedora 21 KDE the change is OK with GTK2/GTK3 Eclipse. 

Please verify if the splash change is OK on other operating systems/windowing systems.
Comment 17 Eclipse Genie CLA 2015-04-13 04:10:43 EDT
New Gerrit change created: https://git.eclipse.org/r/45729
Comment 19 Andrey Loskutov CLA 2015-04-22 15:55:19 EDT
Closing as fixed since no one seem to complain about broken splash or startup progress dialog in newest builds with integrated fix. Hope this one remain closed too.
Comment 20 Andrey Loskutov CLA 2015-06-05 14:26:03 EDT
*** Bug 414218 has been marked as a duplicate of this bug. ***
Comment 21 Sergey Prigogin CLA 2016-04-22 14:26:53 EDT
The problem is still reproducible in the following scenario:
1. Open an instance of Eclipse and select a workspace directory.
2. Open the second instance of Eclipse and try to select the same workspace directory

You will get the Workspace Unavailable dialog and a blank splash screen behind it.
Comment 22 Andrey Loskutov CLA 2016-04-22 14:36:25 EDT
(In reply to Sergey Prigogin from comment #21)
> The problem is still reproducible in the following scenario:
Why o why have you found it again :-)
Comment 23 Xi Yan CLA 2018-09-26 12:14:03 EDT
(In reply to Sergey Prigogin from comment #21)
> The problem is still reproducible in the following scenario:
> 1. Open an instance of Eclipse and select a workspace directory.
> 2. Open the second instance of Eclipse and try to select the same workspace
> directory
> 
> You will get the Workspace Unavailable dialog and a blank splash screen
> behind it.

This should be fixed by https://git.eclipse.org/r/#/c/129942/. Tested on Fedora 28, Ubuntu 18.04. Can someone verify it is okay on other operating systems/windowing system?
Comment 24 Alexander Kurtakov CLA 2018-11-27 11:40:08 EST
I don't see the issue and no one else seems to care about it. Resolving.
Comment 25 Missing name CLA 2019-07-04 04:26:13 EDT
Created attachment 279173 [details]
spash screen on front of workspace selection

Hi,
this issue still occurs on Elipse 2019-03 (4.11.0 build id 20190314-1200)
and for me, the slash screen is on front of the dialog window, I need to move it to be able to choose another workspace than the one already used by another instance of Eclipse.
thanks
Comment 26 Missing name CLA 2019-07-04 04:31:43 EDT
with a multi screen, maybe the blank splash screen appears on the other screen
Comment 27 Rolf Theunissen CLA 2021-06-04 08:03:28 EDT
*** Bug 573979 has been marked as a duplicate of this bug. ***