Closed ghost closed 8 months ago
I have the same problem on Xorg, it started when telegram moved from Qt5 to Qt6 (not implying it's related to that though).
Same issue is encountered in xorg + i3. I currently pinned tdesktop
package to commit: 0c3bf3a5c3ab6be29138b88900c417660a284fbd to workaround this issue.
Contrary to you, I found this behavior in X11, everything works fine in Wayland.
The same happens in awesome
, will be good to test it on kde/gnome maybe is something qt6 is using from the desktop?
Happens in XMonad
too..
+1 for xmonad
Sorry I'm not really maintaining tdesktop now. cc @NickCao, seems to be an issue of Qt6?
Personally, I doesn't have cursor issue on sway.
Most likely an issue with Qt6, but I'm also at a loss what to do to fix this.
I noticed we had a patch for Xcursor
on qt-5, could that be related? https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/qt-5/5.15/qtbase.patch.d/0007-qtbase-xcursor.patch (it even applies cleanly on qt-6)
Could anyone do a preliminary test by setting
export LD_LIBRARY_PATH=${xorg.libXcursor}/lib
This still happens on gnome wayland, same as i reported on the original post.
I can reproduce it on gnome wayland.
Ok, so, this also affects other applications:
Any news on this? Still facing this issue :(
I'm using qtile in x11 and hyprland in wayland and it's working fine in both.
it's still an issue, almost opened another bug report lol @leiserfg this affects apps running on wayland mode.
It also happens to me on multiple machines.
Dug into this a bit, I can't figure out what tries to load libXcursor yet, but:
LD_DEBUG=libs
shows libXcursor being loaded; it also seems like it is in RUNPATH, but I can't see it with chrpath (most likely it's in the rpath of a dependency or something loaded by dlopen)For what it's worth, I can't repro this bug (on sway).
Okay, now I've confirmed that libXcursor isn't used at all. libqgtk3 (ie QT_QPA_PLATFORMTHEME=gtk3
) links against it. Disabling the platform theme makes libXcursor disappear entirely from the LD_DEBUG output.
Let's just drop the LD_LIBRARY_PATH hack because it breaks things.
By the way, for whoever this is still broken, it could simply be a configuration issue. Just for a sanity check, and to cross-check variables, please post the following information:
I don't have this issue anymore, but I do have issues on other applications such as mpv and xwayland games :/
I also confirm the issue is gone. Cursors are working on Telegram.
I use nix as:
and it does not happen to me in any of them, so I consider the issue gone a long time ago.
Describe the bug
On Wayland (with QT_QPA_PLATFORM=wayland), Telegram doesn't use the system cursor theme.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Telegram on wayland should use the system's cursor theme.
Screenshots
Here it's on wayland Here it's on Xwayland.
Additional context
Also just noticed that it only renders like half the cursor or 75% of the cursor, but screenshots seem to make the cursor render correctly.
Notify maintainers
@oxalica
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.