ParaVis “Choose Preset” dialog ignores mouse input under WSL2

Hi,

I have issue on not responding to mouse input for this version 9.16.0 (and since 9.15.0) in the Paravis. I am wondering if it is bug or I miss up any dependencies installation.

I am using SALOME under WSL2 on Windows 11 with Ubuntu 24.04.

In ParaVis, the “Choose Preset” pop-up window opens correctly, but mouse input does not work inside it: I cannot click controls, select a preset with the mouse, drag the window, or return focus to the dialog after clicking outside it.

The main SALOME and ParaVis windows otherwise work normally.

I tested both the Ubuntu native and Linux universal SALOME packages:

  • SALOME 9.14.0: the Choose Preset dialog works correctly.

  • SALOME 9.15.0: the dialog does not accept mouse input.

  • SALOME 9.16.0: the dialog does not accept mouse input.

I installed the runtime dependencies reported by the native-package dependency checker. I also tested launching SALOME with:

QT_QPA_PLATFORM=xcb run_salome …

but this did not change the behaviour.

Keyboard interaction partly works: Tab can move through the preset list and Esc closes the dialog. However, after clicking outside the pop-up, I cannot reactivate it with the mouse.

Is this a known WSL2/WSLg, Qt, or ParaVis issue? Is there a recommended workaround or setting to restore normal mouse interaction with this dialog?

Thank you.

image

image2237×1335 184 KB

If I’m not mistaken, the issue is more about ParaView rather than SALOME, as it does not officially support WSL as discussed in this thread. You can also check this by downloading an official ParaView Linux binary (for instance 5.13) and test it on WSL.

IMHO, since you’re on Windows, the Windows version of SALOME is a better option for you (you can still access the WSL directories from Windows).

PS: If you still prefer to use SALOME on WSL, please note that you might encounter an issue where the mouse pointer is not visible. To fix this, you can add the following reset-pointer function to your .bashrc file as suggested in this thread and run it when the mouse pointer is not visible.

function reset-pointer(){
    powershell.exe -ExecutionPolicy Bypass -Command "Stop-Process -Name msrdc -Force -ErrorAction SilentlyContinue"
}

Hi,

I can confirm it is Paraview issue as I tested with Paraview, the issue remains the same. However, I manage to solve it by using the XLaunch VcXsrv configuration. Thanks for the reply.