Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyMca5 GUI windows, maximize button missing. #1078

Open
mjspilsbury opened this issue May 13, 2024 · 2 comments
Open

PyMca5 GUI windows, maximize button missing. #1078

mjspilsbury opened this issue May 13, 2024 · 2 comments

Comments

@mjspilsbury
Copy link

mjspilsbury commented May 13, 2024

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
Copy link
Owner

vasole commented May 13, 2024

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
Copy link
Author

mjspilsbury commented May 13, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants