** Project changed: launchpad => qtbase-opensource-src (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/2002450

Title:
  QT applications don't respect environment or mouse cursor

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  Using Ubuntu 22.04 (very recent fresh installation)

  QT applications use X11 by default instead of Wayland. This leads to
  incomplete menus and all sorts of graphical glitches. The workaround
  is to add export QT_QPA_PLATFORM=wayland to .profile. As for the mouse
  cursor, they don't use the current mouse cursor size (which is instead
  huge). A google search of "mouse cursor too big on Ubuntu" yields
  quite a few results, signalizing that the issue affects multiple
  users. A workaround is to add export XCURSOR_SIZE="$(gsettings get
  org.gnome.desktop.interface cursor-size)" to .profile. The mouse
  cursor theme is also not respected. Instead, a white mouse cursor is
  what I see in QT applications. A workaround is to add export
  XCURSOR_THEME=Yaru to .profile (export XCURSOR_THEME="$(gsettings get
  org.gnome.desktop.interface cursor-theme)" doesn't work, even though
  executing gsettings get org.gnome.desktop.interface cursor-theme in
  the terminal returns 'Yaru'). Trying to investigate the matter as to
  why this happens, I found at least something relevant regarding the
  mouse cursor theme: the file x-cursor-theme in etc/alternatives had
  the lines

  [Icon Theme]
  Inherits=DMZ-White

  which is strange because the default mouse cursor theme is Yaru
  nowadays and not DMZ-White. However, DMZ-White seems to have been the
  default in the past (I might be wrong on this), suggesting that those
  lines are a relic of older Ubuntu versions. Changing the above DMZ-
  White to Yaru (and deleting the corresponding line in .profile) solves
  the issue as well (presumably now for all users on this machine).

  These commands, or an equivalent configuration, should be the default
  (it's not clear why QT applications are not supposed to use the
  default environment). Regarding mouse cursor I would also add: when
  opening a QT application without having done any of the above, the
  mouse cursor doesn't change. It only happens when the app is made to
  run using Wayland that the mouse cursor changes. The right top buttons
  of the window (close, maximize, minimize) also change to a different,
  "retro" design with Wayland (not with X11, despite all the other
  glitches), which is clearly not Yaru or even Adwaita.

  A standard Ubuntu installation, even though it comes with GNOME,
  should expect users to install QT based applications at some point.
  They should use Wayland and use the default mouse cursor size and
  theme with no manual intervention by the user.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to