Bug 520043 - Eclipse Full Screen, modal dialog with gnome 3.14 not showing (are hidden behind)
Summary: Eclipse Full Screen, modal dialog with gnome 3.14 not showing (are hidden beh...
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.7   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2017-07-21 16:24 EDT by Matteo Mortari CLA
Modified: 2017-08-10 12:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Mortari CLA 2017-07-21 16:24:41 EDT
Hi, I've just installed Oxygen for JavaEE development on linux.
Everything is running smoothly except when I enable Full Screen mode.
When I have Full Screen mode activated, every modal dialog is not displayed on top. For instance, having a text editor open, I hit CTRL+F for Find, and the modal dialog for find is not appearing (because is hidden behind). If I disable the Full Screen mode in that stage, the Find modal dialog appears.
I did some research and I found Bug 496639 which look resolved, but is not clear to me if what I'm experiencing is an Eclipse bug or a gnome issue.
Steps to reproduce: with gnome 3.14 run Eclipse in Full Screen. Try with CTRL+F, or by pushing to git repo in order to except the modal dialog of the push result. None will be displayed while in Full Screen mode. As soon as ALT+F11 or disabling Full Screen from menu, the modal dialog will be visibly accessible.
I would like to understand if there is some Eclipse problem or simply Full Screen mode is not supported/"available" under gnome.
Thank you!

Submitted via the Eclipse IDE "Report bug" functionality, I left all dropdown as per default except for component=SWT.

-- Configuration Details --
Product: Eclipse 4.7.0.20170620-1800 (org.eclipse.epp.package.jee.product)Installed Features:
 org.eclipse.platform 4.7.0.v20170612-1255

Linux environment:
  Kernel:      kernel-3.10.0-514.26.2.el7.x86_64
  Gnome:       gnome-shell-3.14.4-53.el7.x86_64
Comment 1 Leo Ufimtsev CLA 2017-07-31 15:35:16 EDT
Works for me.

I.e:
- Full Screen
- Ctrl+f shows search dialogue. 

Might be related to older version of gtk3.
I'm on Fedora 26 w/ Gtk3.22

Does issue occur on gtk2?

export SWT_GTK3=0
eclipse
Comment 2 Matteo Mortari CLA 2017-07-31 17:29:15 EDT
Hi 

(In reply to Leo Ufimtsev from comment #1)
> Does issue occur on gtk2?
> 
> export SWT_GTK3=0
> eclipse

I tried the command you suggested.
Eclipse looks a bit "weird" as I have the dark theme enabled, the title and the buttons etc. for instance their color is system color (light color) and some text is illegible - this just to mention I believe is confirmation it run with GTK2.
Then I go Full Screen.
As I hit CTRL+F the Find dialog is not shown (it is actually "below" the main screen, but unable to access it because Eclipse is full screen)
If I exit Full Screen, then the Find dialog appears overlayed in front of the main Eclipse application.

Which other test could I run?
Comment 3 Leo Ufimtsev CLA 2017-08-01 10:13:44 EDT
I consulted with my co-workers. It seems to be a bug in Gnome that was fixed in Gnome 3.18:

Bug 756074 – model+transient for dialogs sometimes appear non-modal 
https://bugzilla.gnome.org/show_bug.cgi?id=756074

Something like that was reported to eclipse before already:
Bug 1263178 – Run configurations window on top => pressing super key makes the configuration child window disappear 
https://bugzilla.redhat.com/show_bug.cgi?id=1263178

Can you check if the issue occurs on a newer gnome? e.g 3.22?

If not, I expect the issue to not occur on Gnome 3.18+ because it works fine on my gnome 3.22. Probably -> close->not eclipse unless issue still reproducible on newest gnome.
Comment 4 Matteo Mortari CLA 2017-08-03 15:57:35 EDT
Hi, thank you for the feedback is much appreciated.

(In reply to Leo Ufimtsev from comment #3)
> Can you check if the issue occurs on a newer gnome? e.g 3.22?
> 
> If not, I expect the issue to not occur on Gnome 3.18+ because it works fine
> on my gnome 3.22. Probably -> close->not eclipse unless issue still
> reproducible on newest gnome.

Unfortunately it may take longer than 2-3 weeks before I get a chance to receive the update to 7.4 so to have Gnome/GTK 3.22.3 which is compatible with the mentioned requirement of 9.18+.

My suggestion would be to close->not eclipse based on the references you provided. When I'll receive upgrade I can verify again also from this side and eventually re-open or submit a new bugzilla accordingly.

Thanks again!
Comment 5 Matteo Mortari CLA 2017-08-03 15:58:42 EDT
(In reply to Matteo Mortari from comment #4)
> requirement of 9.18+.

Errata corrige: 3.18+
sorry
Comment 6 Leo Ufimtsev CLA 2017-08-03 19:46:15 EDT
(In reply to Matteo Mortari from comment #4)
> Hi, thank you for the feedback is much appreciated.
> 
> (In reply to Leo Ufimtsev from comment #3)
> > Can you check if the issue occurs on a newer gnome? e.g 3.22?
> > 
> > If not, I expect the issue to not occur on Gnome 3.18+ because it works fine
> > on my gnome 3.22. Probably -> close->not eclipse unless issue still
> > reproducible on newest gnome.
> 
> Unfortunately it may take longer than 2-3 weeks before I get a chance to
> receive the update to 7.4 so to have Gnome/GTK 3.22.3 which is compatible
> with the mentioned requirement of 9.18+.
> 
> My suggestion would be to close->not eclipse based on the references you
> provided. When I'll receive upgrade I can verify again also from this side
> and eventually re-open or submit a new bugzilla accordingly.
> 
> Thanks again!

Ok. Sounds good.

If there's still an issue on 3.22, feel free to re-open.

~Good luck on the journey ahead.