display refresh on Linux (Ubuntu 16.04)

Dear oXygen users, I am evaluating oXygen for use on linux machines, specifically those running Ubuntu 16.04. Oxygen installs and starts fine, but after switching to another workspace and then back to the one that holds oXygen, the display is distorted. Most areas of the screen are black or white, in some areas the displayed content reappears after hovering with the mouse for a while. This makes it very difficult to use. I wonder if there is a solution or workaround. All the best, Christian -- Christian Wittern, Kyoto

Hello Christian, What version and build of Oxygen are you using? What distribution of Oxygen are you using (Linux 32/64-bit .sh installer or "All platforms" .tar.gz)? On what system are you testing this (graphics card is especially relevant)? We have tested Oxygen v17.1 and v18.0 (Linux 64-bit .sh installer) with Ubuntu 16.04 and multiple workspaces on an Intel NUC system (Intel HD Graphics), but did not experience any graphical glitches when switching workspaces. Oxygen does not handle the low level rendering of the application window. It relies on Java's screen drawing/updating mechanisms to perform the window paint/repaint. It appears that on your system Java is not aware that the window must be repainted after reactivating the workspace. This may also be affected by the graphics card and driver. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 On 23.06.2016 09:07, Christian Wittern wrote:
Dear oXygen users,
I am evaluating oXygen for use on linux machines, specifically those running Ubuntu 16.04. Oxygen installs and starts fine, but after switching to another workspace and then back to the one that holds oXygen, the display is distorted. Most areas of the screen are black or white, in some areas the displayed content reappears after hovering with the mouse for a while. This makes it very difficult to use. I wonder if there is a solution or workaround.
All the best,
Christian

On 06/23/2016 11:18 PM, Oxygen XML Editor Support (Adrian Buza) wrote:
Hello Christian,
What version and build of Oxygen are you using? The latest build, 2016051118 v 18.0
What distribution of Oxygen are you using (Linux 32/64-bit .sh installer or "All platforms" .tar.gz)?
I used the Linux 64 bit installer
On what system are you testing this (graphics card is especially relevant)?
The graphics is Intel® HD Graphics 5500 (Broadwell GT2)
Oxygen does not handle the low level rendering of the application window. It relies on Java's screen drawing/updating mechanisms to perform the window paint/repaint. It appears that on your system Java is not aware that the window must be repainted after reactivating the workspace. This may also be affected by the graphics card and driver.
Is there a way to force Java in doing an update? All the best, Christian

Hi,
Is there a way to force Java in doing an update? Any window size change should trigger a repaint of the window. The simplest way to trigger a window repaint is to toggle on and off window maximization (double click twice the title bar of the Oxygen window).
Regards, Adrian On 24.06.2016 00:49, Christian Wittern wrote:
On 06/23/2016 11:18 PM, Oxygen XML Editor Support (Adrian Buza) wrote:
Hello Christian,
What version and build of Oxygen are you using? The latest build, 2016051118 v 18.0
What distribution of Oxygen are you using (Linux 32/64-bit .sh installer or "All platforms" .tar.gz)?
I used the Linux 64 bit installer
On what system are you testing this (graphics card is especially relevant)?
The graphics is Intel® HD Graphics 5500 (Broadwell GT2)
Oxygen does not handle the low level rendering of the application window. It relies on Java's screen drawing/updating mechanisms to perform the window paint/repaint. It appears that on your system Java is not aware that the window must be repainted after reactivating the workspace. This may also be affected by the graphics card and driver.
Is there a way to force Java in doing an update?
All the best,
Christian
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-- Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482

Hi, * Oxygen XML Editor Support (Adrian Buza) dixit [2016-06-24 11:07]:
Is there a way to force Java in doing an update? Any window size change should trigger a repaint of the window. The simplest way to trigger a window repaint is to toggle on and off window maximization (double click twice the title bar of the Oxygen window).
I don't know if this is of any help, but some time ago I have set two environment variables to mitigate some Java/UI problems. (Also I did not check if they're still necessary now.) I am using another distribution and a window manager less popular than the defaults (Archlinux and dwm), but maybe something along those lines could help in this case as well, at least they might provide some new starting points for further google searches: _JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true _JAVA_AWT_WM_NONREPARENTING=1 Regards, Andreas -- Dr. Andreas Wagner twitter: @anwagnerdreas Project "The School of Salamanca" web: http://salamanca.adwmainz.de Academy of Sciences and Literature, Mainz fon: +49 (0)69/798-32774 and Institute of Philosophy fax: +49 (0)69/798-32794 Goethe University Frankfurt IGF HP 25 / R 2.455 Norbert-Wollheim-Platz 1 60629 Frankfurt am Main

Thank you all for your help. At the moment, after a reboot, I am not seeing this problem, so it might have gone away. It might also be related to the use of a projector, because the last time the problem started was during a presentation (which is why I would like to get to the bottom of it at some point). I will keep you posted if the problem resurfaces. All the best, Christian On 06/24/2016 06:21 PM, Andreas Wagner wrote:
Hi,
* Oxygen XML Editor Support (Adrian Buza) dixit [2016-06-24 11:07]:
Is there a way to force Java in doing an update? Any window size change should trigger a repaint of the window. The simplest way to trigger a window repaint is to toggle on and off window maximization (double click twice the title bar of the Oxygen window).
I don't know if this is of any help, but some time ago I have set two environment variables to mitigate some Java/UI problems. (Also I did not check if they're still necessary now.) I am using another distribution and a window manager less popular than the defaults (Archlinux and dwm), but maybe something along those lines could help in this case as well, at least they might provide some new starting points for further google searches:
_JAVA_OPTIONS=-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true _JAVA_AWT_WM_NONREPARENTING=1
Regards,
Andreas

Have you tried this ? http://askubuntu.com/questions/760934/graphics-issues-after-installing-ubunt... Best, Christophe Le 23/06/2016 08:07, Christian Wittern a écrit :
Dear oXygen users,
I am evaluating oXygen for use on linux machines, specifically those running Ubuntu 16.04. Oxygen installs and starts fine, but after switching to another workspace and then back to the one that holds oXygen, the display is distorted. Most areas of the screen are black or white, in some areas the displayed content reappears after hovering with the mouse for a while. This makes it very difficult to use. I wonder if there is a solution or workaround.
All the best,
Christian
participants (5)
-
Andreas Wagner
-
Christian Wittern
-
Christian Wittern
-
Christophe Marchand
-
Oxygen XML Editor Support (Adrian Buza)