[Bug 2063332] Re: Multiple problems Ubuntu 24.04 with Qt5

2024-04-25 Thread Jakub Klos
Thank you for you answer.

It is most definitely a regression in Ubuntu 24.04. I have just tested Ubuntu 
22.04 on Wayland, the same Qt5 apps and all is working
- keyboard shortcuts
- window controls are on the left
- window titlebar doubleclick to maximize 

Not sure if it's Wayland, Qt5 or something else

When I try your suggestion with qgnomeplatform-qt5 then:
- window controls are on the left [OK]
- window titlebar doubleclick also works as expected [OK]
- fullscreen window state is remembered and restored properly [OK]

- keyboard shortcuts still do not work properly [ERR]

Anything else I should try? But obviously the behavior is different from
Ubuntu 22.04

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063332

Title:
  Multiple problems Ubuntu 24.04 with Qt5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/2063332/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063332] Re: Multiple problems Ubuntu 24.04 with Qt5

2024-04-24 Thread Dmitry Shachnev
What you describe sounds like an effect of switching from X11 to
Wayland, not a regression in Qt.

In X11, the window decorations can be drawn either by the window manager
or by the application itself. Qt relied on window manager, so the
decorations looked uniform.

In Wayland, there is no choice, and Qt draws its own window decorations,
which may be different from GNOME ones. If you signed into a Wayland
session in Ubuntu 22.04, you would likely get the same effect.

There is a third-party package which may make things better for Qt
applications in GNOME: qgnomeplatform-qt5. After installing it, try
running your application with QT_QPA_PLATFORMTHEME=gnome environment
variable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063332

Title:
  Multiple problems Ubuntu 24.04 with Qt5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/2063332/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2063332] Re: Multiple problems Ubuntu 24.04 with Qt5

2024-04-24 Thread Jakub Klos
** Attachment added: "Displays how Qt5 apps are displayed instead"
   
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/2063332/+attachment/5770034/+files/Screenshot%20from%202024-04-24%2014-11-47.png

** Description changed:

  After the upgrade to the 24.04 beta Qt5 UI is not at its best. Please,
- notice that all this functionality used to be working on 22.04.
+ notice that all this functionality is working on 22.04.
  
  1. Windows controls settings from Gnome are not applied
  When you set the Windows Title bar buttons to Placement Left, then Qt apps 
ignore this setting. The default gt4 apps behave properly and place the buttons 
to the left.
  
  2. Windows actions like double click to maximize from settings also do
  not with in the Qt5 apps unlike in gt4 apps.
  
- 3. Several keyboard shortcuts are passed differently to Qt5 apps. 
+ 3. Several keyboard shortcuts are passed differently to Qt5 apps.
  The key "Ctrl+Period" is not passed to the qt app at all
  The key "Ctrl+~" is passed as "Ctrl+0"
  The key "Shift+Alt+F7" is also not working
  This means some different handling is applied in Qt5 apps
  
  4. If you use the env var "export QT_QPA_PLATFORM=xcb" and start the Qt5
  app, then it all works properly. The windows controls are on the right
  side, you can use double click the title bar to maximize and also the
  shortcuts are working fine. However, in such scenario no app starts
  fullscreen. It starts in a positioned window (the position is
  remembered) instead even if you maximized the window before you exited
  it.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: libqt5core5t64 5.15.13+dfsg-1ubuntu1
  ProcVersionSignature: Ubuntu 6.8.0-28.28-generic 6.8.1
  Uname: Linux 6.8.0-28-generic x86_64
  ApportVersion: 2.28.1-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr 24 14:20:24 2024
  InstallationDate: Installed on 2020-05-12 (1443 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: qtbase-opensource-src
  UpgradeStatus: Upgraded to noble on 2024-04-20 (4 days ago)
  modified.conffile..etc.init.d.apport: [modified]
  mtime.conffile..etc.init.d.apport: 2024-04-19T01:50:32

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063332

Title:
  Multiple problems Ubuntu 24.04 with Qt5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/2063332/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs