Community
Participate
Working Groups
This is an intermittent problem that I have seen with one of my customers while he is using 2 different products I support: Rational Developer for System z (RDz) version 9.0.1 and Rational Developer for AIX and Linux (RDAL) version 9.0.1. Both of these products are built on top of eclipse 4.2. And this behaviour was not seen on earlier products that were based on eclipse 3.6.x: 1) In RDAL, sometimes the view (and it does not matter which views) in the workbench are invisible as if they have disappeared. But when you hover over the tabs that are visible, the disappeared tabs reappear. 2) When an action results in a dialog to pop up, some of the fields in the dialog appear to be missing or better, the dialog looks transparent. But when you hover over the dialog in different sections, all the fields are there and they re-appear. I looked all different eclipse bugs to see if there is anything similar to it but cannot find. Please advise.
Is there anything in their error log when this happens? It sounds like a painting problem. What version/patch level of OS/windowing system does this customer have? Is their problem reproducible on multiple boxes? PW
Unfortunately not, the error log was the first place I checked. They are using Windows 7 with service pack 1. They can reproduce it other machines in their environment but unfortunately, I do not have the same environment and cannot reproduce it. Originally when they reported the problem and I asked for a snapshot, they attempted to use the print screen to get the snapshot but the print screen would show the correct dialog and not the half transparent one. I even asked them to use a new workspace and that only delayed the problem from happening. I was hoping I could add a trace for a plugin in their environment to see what was happening.
Created attachment 240374 [details] tabs with default theme
Created attachment 240375 [details] Tabs after changing to Windows 7 Theme
But the customer does not change the tabs and only uses the default one so I cannot explain why the tabs disappear.
I double checked with the customer: - He does not have any third party plugins - Many other users see the same behaviour - Tabs disappear often during the day - And hovering over the missing ones shows them again. I somehow can recreate it but not the way the customer does it. If I change the Tabs appearance Theme from the default which RationalIDE to for example Windows 7, that would require a restart. Most of the times, the restart shows all the tabs but sometimes, the restart would show only some of the tabs unless I hover over that area and then see the rest of the tabs. Please note, the customer has not changed the appearance at all. This is just how I could recreate the same scenario.
The customer has also noticed that when this situation occurs, if he drags any other screen such as a word document, outlook, etc. over the top of the missing tab, and then remove it, the missing tabs reappear. I suspect the action for the move would force an event for the paint refresh and that is why it is working after doing such but any idea what to look for and how to resolve would really be appreciated.
Perhaps related to the CTabFolder rendering? PW
(In reply to Paul Webster from comment #8) > Perhaps related to the CTabFolder rendering? > > PW Yes, it might be involved with Daniel
(In reply to Farzi Pourmoetamed from comment #7) > The customer has also noticed that when this situation occurs, if he drags > any other screen such as a word document, outlook, etc. over the top of the > missing tab, and then remove it, the missing tabs reappear. I suspect the > action for the move would force an event for the paint refresh and that is > why it is working after doing such but any idea what to look for and how to > resolve would really be appreciated. Could you please verify whether problem still occurs in the build http://download.eclipse.org/eclipse/downloads/drops4/I20140304-0800/ or the incoming M6 one? The considered builds contain some rendering change and hence the issue can be fixed thanks, Daniel
(In reply to Daniel Rolka from comment #10) > (In reply to Farzi Pourmoetamed from comment #7) > > The customer has also noticed that when this situation occurs, if he drags > > any other screen such as a word document, outlook, etc. over the top of the > > missing tab, and then remove it, the missing tabs reappear. I suspect the > > action for the move would force an event for the paint refresh and that is > > why it is working after doing such but any idea what to look for and how to > > resolve would really be appreciated. > > Could you please verify whether problem still occurs in the build > http://download.eclipse.org/eclipse/downloads/drops4/I20140304-0800/ or the > incoming M6 one? > > The considered builds contain some rendering change and hence the issue can > be fixed > > thanks, > Daniel I assume this is a question for Paul as I cannot verify it with a later eclipse download (4.4 or incoming M6) because the product the customer is using is built on top of eclipse 4.2 and I would be able to verify when the product is built on top of a newer eclipse. Is there a bugzilla defect associated with the CTabFolder rendering?
(In reply to Farzi Pourmoetamed from comment #11) > > I assume this is a question for Paul as I cannot verify it with a later > eclipse download (4.4 or incoming M6) because the product the customer is > using is built on top of eclipse 4.2 and I would be able to verify when the > product is built on top of a newer eclipse. This was targetted at you. We are only actively working on 4.4 (Luna) now and we can only test reproducible scenarios that are reproducible on the Eclipse Classic SDK (as found at http://download.eclipse.org/eclipse/downloads ). If you have some proprietary setup that reproduces the problem the bulk of the debugging would fall to you. PW
*** Bug 445717 has been marked as a duplicate of this bug. ***
*** Bug 534110 has been marked as a duplicate of this bug. ***
(In reply to Dani Megert from comment #14) > *** Bug 534110 has been marked as a duplicate of this bug. *** Can you reproduce with http://download.eclipse.org/eclipse/downloads/drops4/I20180426-2000/ and a new workspace (don't switch to Dark theme)?
Created attachment 273868 [details] Photon - video of editor tabs being disappearing I think they can't test-out in photon becz they must be using a custom built plugin an base-eclipse. I used photon-M6 for this video.
(In reply to chidveer chinthakuntla from comment #16) > Created attachment 273868 [details] > Photon - video of editor tabs being disappearing > > I think they can't test-out in photon becz they must be using a custom built > plugin an base-eclipse. > I used photon-M6 for this video. The video shows the Dark theme. Can you try with a complete new workspace and don't switch to the Dark theme?
Created attachment 273875 [details] Photon - No theme - video of editor tabs being disappearing used photon M6, new workspace, no theme changes. Still very easy to reproduce.
Created attachment 273882 [details] Windows Mouse: Pointer-speed settings Tried this issue: - It's not easily reproducible, we need to move the mouse very fast. May be something to do with mouse speed as well, I tried with maximum mouse: "Pointer speed" to reproduce this issue in Eclipse.(sharing screen shot for reference for Windows settings) - Also the issue is not seen with plain CTabFolder example snippet like CustomControlExample.java in SWT, problem seems specific to Eclipse only.
(In reply to Niraj Modi from comment #19) > Created attachment 273882 [details] > Windows Mouse: Pointer-speed settings > > Tried this issue: > - It's not easily reproducible, we need to move the mouse very fast. May be > something to do with mouse speed as well, I tried with maximum mouse: > "Pointer speed" to reproduce this issue in Eclipse.(sharing screen shot for > reference for Windows settings) > - Also the issue is not seen with plain CTabFolder example snippet like > CustomControlExample.java in SWT, problem seems specific to Eclipse only. Woww Did you watch the first video, in dark theme "Photon - video of editor tabs being disappearing" ??? See what happens between 10 to 12 seconds. This happens even when you glide your mouse over the tabs. Can't believe you can't reproduce it, can you attach a video ? The guy who created this ticket was talking about what his client is seeing. Do you recommend them to change mouse settings ?
(In reply to chidveer chinthakuntla from comment #20) > (In reply to Niraj Modi from comment #19) > > Created attachment 273882 [details] > > Windows Mouse: Pointer-speed settings > > > > Tried this issue: > > - It's not easily reproducible, we need to move the mouse very fast. May be > > something to do with mouse speed as well, I tried with maximum mouse: > > "Pointer speed" to reproduce this issue in Eclipse.(sharing screen shot for > > reference for Windows settings) > > - Also the issue is not seen with plain CTabFolder example snippet like > > CustomControlExample.java in SWT, problem seems specific to Eclipse only. > > Woww > Did you watch the first video, in dark theme > "Photon - video of editor tabs being disappearing" ??? > See what happens between 10 to 12 seconds. > > This happens even when you glide your mouse over the tabs. > Can't believe you can't reproduce it, can you attach a video ? > > The guy who created this ticket was talking about what his client is seeing. > Do you recommend them to change mouse settings ? Just to clarify what I said: Issue is reproducible(not easily but when we move the mouse very fast) in Eclipse CTabFolders and not with plain SWT's CTabFolder based example. So, very likely the problem lies with CSS engine component.
(In reply to Niraj Modi from comment #21) > (In reply to chidveer chinthakuntla from comment #20) > > (In reply to Niraj Modi from comment #19) > > > Created attachment 273882 [details] > > > Windows Mouse: Pointer-speed settings > > > > > > Tried this issue: > > > - It's not easily reproducible, we need to move the mouse very fast. May be > > > something to do with mouse speed as well, I tried with maximum mouse: > > > "Pointer speed" to reproduce this issue in Eclipse.(sharing screen shot for > > > reference for Windows settings) > > > - Also the issue is not seen with plain CTabFolder example snippet like > > > CustomControlExample.java in SWT, problem seems specific to Eclipse only. > > > > Woww > > Did you watch the first video, in dark theme > > "Photon - video of editor tabs being disappearing" ??? > > See what happens between 10 to 12 seconds. > > > > This happens even when you glide your mouse over the tabs. > > Can't believe you can't reproduce it, can you attach a video ? > > > > The guy who created this ticket was talking about what his client is seeing. > > Do you recommend them to change mouse settings ? > Just to clarify what I said: > Issue is reproducible(not easily but when we move the mouse very fast) in > Eclipse CTabFolders and not with plain SWT's CTabFolder based example. > So, very likely the problem lies with CSS engine component. Thanks for the clarification. Out of Curiosity... It seems like since "Luna release" onwords eclipse is a bit slow and using some new GUI system. Is it even possible to add a configuration to switch to old UI engine ? As, it been a while and it is still at bleeding-edge.
*** Bug 533569 has been marked as a duplicate of this bug. ***
i think if we comment the CTabFolder part in setFont, it might work. org.eclipse.e4.ui.css.swt.properties.css2.CSSPropertyFontSWTHandler.setFont(Widget, Font) else if (widget instanceof CTabFolder) { CTabFolder folder = (CTabFolder) widget; CSSSWTFontHelper.setFont(folder, font); updateChildrenFonts(folder, font); } can i get some direction on the docs for building and running the org.eclipse.e4.ui.css.swt project.
*** Bug 536158 has been marked as a duplicate of this bug. ***
(In reply to Dani Megert from comment #25) > *** Bug 536158 has been marked as a duplicate of this bug. *** Some people are in doubt, another say, that it is needed to move mouse quickly. It is not needed to move cursor so much quckly as visible from this video. This is real speed: https://youtu.be/uxylksr8Q34. But i can mimic this disappearing only one monitor (Asus ZenScreen) from three. The driver and OS - Windows is same. It looks like, that even if it is programming bug, it is HW dependent. It can come from thread management?
Created attachment 274588 [details] Not only the tabs, but other GUI components are affected too The indication bad behavior are short white crossing out lines over the standard components for minimizing/maximizing.
Created attachment 274589 [details] Using Classic Appearance causes, that tabs are kept properly.
(In reply to Petr Haji269 from comment #28) > Created attachment 274589 [details] > Using Classic Appearance causes, that tabs are kept properly. This is a workaround (tested on Windows 10, Eclipse Oxygen). Tabs are kept on his place, only shadows in some views are damaged. Rather than shadows, there are stripes. Tested themes: -- Classical, relativelly best - only shadows appearance problem -- Windows Classical - worse, tabs disappears, visible unrecognized lines -- Dark - worst, tabs are duplicated, lines, vertical strip noise etc..
(In reply to Petr Haji269 from comment #29) > (In reply to Petr Haji269 from comment #28) > > Created attachment 274589 [details] > > Using Classic Appearance causes, that tabs are kept properly. > > This is a workaround (tested on Windows 10, Eclipse Oxygen). Tabs are kept > on his place, only shadows in some views are damaged. Rather than shadows, > there are stripes. > Tested themes: > -- Classical, relativelly best - only shadows appearance problem > -- Windows Classical - worse, tabs disappears, visible unrecognized lines > -- Dark - worst, tabs are duplicated, lines, vertical strip noise etc.. Have you tried to *disable* themes?
To be able mimic this appearance we need to install Eclipse Color Theme. Tested on ver. 1.0.0. (In reply to Petr Haji269 from comment #27) > Created attachment 274588 [details] > Not only the tabs, but other GUI components are affected too > > The indication bad behavior are short white crossing out lines over the > standard components for minimizing/maximizing.
(In reply to Andrey Loskutov from comment #30) > (In reply to Petr Haji269 from comment #29) > > (In reply to Petr Haji269 from comment #28) > > > Created attachment 274589 [details] > > > Using Classic Appearance causes, that tabs are kept properly. > > > > This is a workaround (tested on Windows 10, Eclipse Oxygen). Tabs are kept > > on his place, only shadows in some views are damaged. Rather than shadows, > > there are stripes. > > Tested themes: > > -- Classical, relativelly best - only shadows appearance problem > > -- Windows Classical - worse, tabs disappears, visible unrecognized lines > > -- Dark - worst, tabs are duplicated, lines, vertical strip noise etc.. > > Have you tried to *disable* themes? In comment #26 is used clean installation without any themes. I read the issues of the contributors before me and there is notice about Dark Theme. So and tried to install "Eclipse Color Theme" to check if it will be better or worse. As you can read above, the behavior very significantly depends on type of the theme. The workaroud is based on "Eclipse Color Theme" 1.0.0. - Classical.
(In reply to Andrey Loskutov from comment #30) > (In reply to Petr Haji269 from comment #29) > > (In reply to Petr Haji269 from comment #28) > > > Created attachment 274589 [details] > > > Using Classic Appearance causes, that tabs are kept properly. > > > > This is a workaround (tested on Windows 10, Eclipse Oxygen). Tabs are kept > > on his place, only shadows in some views are damaged. Rather than shadows, > > there are stripes. > > Tested themes: > > -- Classical, relativelly best - only shadows appearance problem > > -- Windows Classical - worse, tabs disappears, visible unrecognized lines > > -- Dark - worst, tabs are duplicated, lines, vertical strip noise etc.. > > Have you tried to *disable* themes? Is there a way to annotate some Service class as disabled (or) config in Osgi config file ?
(In reply to Petr Haji269 from comment #31) > To be able mimic this appearance we need to install Eclipse Color Theme. > Tested on ver. 1.0.0. So, without that plug-in it works?
(In reply to Dani Megert from comment #34) > (In reply to Petr Haji269 from comment #31) > > To be able mimic this appearance we need to install Eclipse Color Theme. > > Tested on ver. 1.0.0. > > So, without that plug-in it works? No. It is mentioned above. The tabs disappear even in the fresh installation.
This bug is very closely binded with appearing/disappearing tooltips. On the Ubuntu linux, the same HW - NUC-7i7BNH and Asus display, there are Tabs visible, not disappear, but there are not visible Tooltips, punctually they are no readable - they are blink only for very short time. When i click on any Tab, after changes in Appearance - from Dark to Classical, there is memory leak - Problem occured. It is proofed by the text, which is in Czech language - it was last one copy - paste in clipboard, completelly independend (copied text in Firefox). There is pic. in attachements.
Created attachment 274875 [details] Probably Memory Leak after change of Appearance from Dark to Classical. After click on any Tab.
Still seeing this issue on SimRel 2018-12
I just observed (on Eclipse 2020-09M2) that multiple tabs disappeared. My mouse was hovering over the tabs, at the same time a notification popup of a totally unrelated application (Microsoft Teams) appeared in the bottom right of the screen. All tabs that I happened to hover over disappeared. Generally, seeing the issue regularly and indeed seems related to the tooltip too.
As already mentioned in Bug 563345 Comment 1 and bug 563345 Comment, the issue is caused by a clipping what has sometimes a height and a width of 0. If this is the case, the foreground will not be painted in CTabFolder. Somehow the clipping is wrong when the mouse goes over the close 'cross' of a tab next to it just before or just after the going over the tab. This can be triggered by moving the mouse quickly diagonal over the tab, and just hitting the corner of the tab before it. With square tabs this is triggered even easier (see Bug 563345). But after the fix of Bug 563345 it can still be triggered on square tabs. Fix/workaround is to reset the clipping before drawing the tabs.
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/167732
Gerrit change https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/167732 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=7b279b485812dd110e25e51d173b12a43a122af5