vasole / pymca

PyMca Toolkit git repository
Other
58 stars 54 forks source link

PyMca5 GUI windows, maximize button missing. #1078

Open mjspilsbury opened 4 months ago

mjspilsbury commented 4 months ago

Hello,

I am running the GUI at Ubuntu 22.04, but the windows is very big (out of limits of screen) and the maximize button is missing. Please, give me some advice to resolve this issue. Thanks.

PD: Also, I cannot resize the window manually.

From Qt

Screens: 1, High DPI scaling: inactive
# 0 "XWAYLAND0" Depth: 24 Primary: yes
  Manufacturer: 
  Model: 
  Serial number: 
  Geometry: 1360x768+0+0 Available: 1298x741+62+27
  Physical size: 340x190 mm  Refresh: 59.799 Hz Power state: 0
  Physical DPI: 101.6,102.669 Logical DPI: 96,96 Subpixel_None
  DevicePixelRatio: 1 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0
vasole commented 4 months ago

I'm not 100 % sure about the problem coming from PyMca or from the Qt binding.

Please try the following workaround to see if it helps

1 - Make sure silx is installed 2 - start PyMca as pymca -f --backend=silx

mjspilsbury commented 4 months ago

Hi,

The same behavior.

:~$ pymca
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
:~$ pymca -f --backend=silx
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

I'm not 100 % sure about the problem coming from PyMca or from the Qt binding.

Please try the following workaround to see if it helps

1 - Make sure silx is installed -------Done 2 - start PyMca as pymca -f --backend=silx -------Done