Matlab doubleclick problem in openSuSE 11.x (with VNC/X)

I have a small, but painful problem with Matlab in openSuSE 11.x, when working over VNC.

My setup:
openSuSE 11.1 (recent upgrade from 10.2)
Matlab (R2007a, 32bit)
VNC
KDE 3.5.x (from openSuSE 11.1).

Problem:
When I open Matlab main window and try to work in File Open / File Save dialog, I can’t double click on files and folders. Single-click (=selection) works, and if I press Enter the default action works. However, pressing Enter leads to wrong action in Set Path dialog (it should go into the directory, but selects the directory as a path).

Diagnostics:

  1. It works correctly directly on that machine (=no VNC).

  2. It does work correctly if X-session is forwarded over SSH to other machine, if the other machine has something else then openSuSE 11.x (e.g. has openSuSE 10.2).

  3. It does NOT work correctly if X-session is forwarded over SSH to remote with openSuSE 11.0, 11.1 installed (clean installs).

  4. The behaviour is the same with TightVNC and RealVNC, and it does not matter if VNC client is Linux or WinXP.

  5. Other applications (KDE 3.5.x applications) work correct all the time. Java-based applications (I tested Imagej) work also fine all the time.

  6. The behaviour is identical/broken with KDE 3.5.x and KDE4 (if started in VNC).

  7. I can easily tell if it will work correctly just by seeing the font/font size in the main matlab window. Working X-sessions tend to have larger font than those broken 11.x sessions.

  8. It does not register (when broken) any kind of double-click (slow, fast, ultrafast).

Any suggestions?

I am thinking about:

  • something changed in 11.x X-client (is there such a thing?)

  • I’m not sure what is Matlab UI written in. Java? Could this be Java+X related problem? (It seems that other Java programs work fine).

Thank you for your comments.

On Mon, 27 Jul 2009 04:16:01 GMT, mstraka
<mstraka@no-mx.forums.opensuse.org> wrote:

>
>I have a small, but painful problem with Matlab in openSuSE 11.x, when
>working over VNC.
>
>My setup:
>openSuSE 11.1 (recent upgrade from 10.2)
>Matlab (R2007a, 32bit)
>VNC
>KDE 3.5.x (from openSuSE 11.1).
>
>Problem:
>When I open Matlab main window and try to work in File Open / File Save
>dialog, I can’t double click on files and folders. Single-click
>(=selection) works, and if I press Enter the default action works.
>However, pressing Enter leads to wrong action in Set Path dialog (it
>should go into the directory, but selects the directory as a path).
>
>Diagnostics:
>1) It works correctly directly on that machine (=no VNC).
>
>2) It does work correctly if X-session is forwarded over SSH to other
>machine, if the other machine has something else then openSuSE 11.x
>(e.g. has openSuSE 10.2).
>
>3) It does NOT work correctly if X-session is forwarded over SSH to
>remote with openSuSE 11.0, 11.1 installed (clean installs).
>
>4) The behaviour is the same with TightVNC and RealVNC, and it does not
>matter if VNC client is Linux or WinXP.
>
>5) Other applications (KDE 3.5.x applications) work correct all the
>time. Java-based applications (I tested Imagej) work also fine all the
>time.
>
>6) The behaviour is identical/broken with KDE 3.5.x and KDE4 (if
>started in VNC).
>
>7) I can easily tell if it will work correctly just by seeing the
>font/font size in the main matlab window. Working X-sessions tend to
>have larger font than those broken 11.x sessions.
>
>8) It does not register (when broken) any kind of double-click (slow,
>fast, ultrafast).
>
>Any suggestions?
>
>I am thinking about:
>
>- something changed in 11.x X-client (is there such a thing?)
>
>- I’m not sure what is Matlab UI written in. Java? Could this be Java+X
>related problem? (It seems that other Java programs work fine).
>
>Thank you for your comments.

My SWAG is that there is some kind of not previously found bug in the
Matlab X-client portion. BTW i guess that Matlab (including X client
portion) is written in C++ (perhaps with Qt or GTK libraries).