telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.33k stars 5.23k forks source link

Off-center text selection (Ubuntu/Wayland) #25673

Closed khalil-i-o closed 1 year ago

khalil-i-o commented 1 year ago

Steps to reproduce

  1. Open a text message from any chat containing one or more lines of text.
  2. Try to select part of the text with the cursor (mouse).

Expected behaviour

The text line to be selected is the cursor line, where it is visually located.

Actual behaviour

The line selected with the cursor is the line below the one visually indicated.

Operating system

Ubuntu 22.04.1 | Gnome 42.5 (Wayland)

Version of Telegram Desktop

4.5.2

Installation source

Static binary from official website

Logs

$ /Telegram
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
QTextCursor::setPosition: Position '8388607' out of range
QTextCursor::setPosition: Position '8388607' out of range
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
khalil-i-o commented 1 year ago

It only happens when you log in using Ubuntu Wayland, with Ubunru X.Org this does not happen.

Sorry for the quality of the video, it happens that with the native screen recording of Gnome, the cursor became gigantic when passing through Telegram.

Screen of the error: https://user-images.githubusercontent.com/68512577/210453307-65c027c8-4a36-4e6b-8e5b-f63ceb1da281.mp4

Giant cursor (gnome): Captura desde 2023-01-03 18-43-18

In addition, the interface scaling ranges are: 200%, 220%, 240%, 260%, 280%, 300%. While in X.Org the ranges go from 100%, 125%, 150%, 200%, 250%, 300%.

khalil-i-o commented 1 year ago

Replicates with installation from Snap (v4.5.2)

ilya-fedin commented 1 year ago

I can't reproduce the text selection bug on my machine with Plasma Wayland, sorry :(

The big cursor bug is the consequence of GNOME using its own custom settings storage instead of using the way everyone else (Qt, SDL, mpv) uses. Since Telegram is a cross-platform application written with Qt rather than a GNOME application, it's affected as well. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5894

ilya-fedin commented 1 year ago

In addition, the interface scaling ranges are: 200%, 220%, 240%, 260%, 280%, 300%. While in X.Org the ranges go from 100%, 125%, 150%, 200%, 250%, 300%.

That's due to the toolkit's (Qt) technical details of UI scaling on Wayland. Due to them, you can't scale less than your system scale, sorry.

khalil-i-o commented 1 year ago

The big cursor bug is the consequence of GNOME using its own custom settings storage instead of using the way everyone else (Qt, SDL, mpv) uses. Since Telegram is a cross-platform application written with Qt rather than a GNOME application, it's affected as well. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5894

The cursor is valid, it is a problem of GNOME. The strange thing is that other Qt-based applications do not have the same problem.

khalil-i-o commented 1 year ago

@Aokromes I think that putting it as "can't reproduce" is misleading, because in the description of the problem it is stated that it is Gnome 42.5 (Wayland) not KDE Plasma

ilya-fedin commented 1 year ago

I think that putting it as "can't reproduce" is misleading, because in the description of the problem it is stated that it is Gnome 42.5 (Wayland) not KDE Plasma

This shouldn't matter unless GNOME has a bug.

The strange thing is that other Qt-based applications do not have the same problem.

Other Qt-based applications are likely using a different Qt version? Qt removed GNOME from Wayland blacklist very recently, Qt was working on GNOME only using Xwayland previously.

khalil-i-o commented 1 year ago

This shouldn't matter unless GNOME has a bug.

It's weird that it's the only application with the bug, many running on Ubuntu/Gnome/Wayland. But hey, tdesktop has nothing to fix here, again everything is external and dependent (in this case on GNOME).

Other Qt-based applications are likely using a different Qt version? Qt removed GNOME from Wayland blacklist very recently, Qt was working on GNOME only using Xwayland previously.

Probably, but I would have no way of corroborating exactly which version they use.

ilya-fedin commented 1 year ago

Probably, but I would have no way of corroborating exactly which version they use.

If they are installed through system package manager, it should say. If they are installed via flatpak or snap, their manifest should say. If they are standalone binaries, their build scripts should say. And you can force native Wayland backend with QT_QPA_PLATFORM=wayland environment variable (unless the application in question override the variable value before spawning QApplication).

It's weird that it's the only application with the bug, many running on Ubuntu/Gnome/Wayland. But hey, tdesktop has nothing to fix here, again everything is external and dependent (in this case on GNOME).

It's quite a widespread thing as people usually have no Qt applications on their computers or these applications use a very outdated Qt version ("stable" distributions say hello). There are also two major Qt versions actively used currently: 5 an 6, tdesktop's official builds are built with Qt 6 for Linux (6.4.1 precisely right now). I also can't reproduce in a clean Ubuntu 22.04 VM though.

khalil-i-o commented 1 year ago

If they are installed through system package manager, it should say. If they are installed via flatpak or snap, their manifest should say. If they are standalone binaries, their build scripts should say.

You are right, it was in your information. I found the versions of two applications: Qt version 5.15.3 Qt: 5.9.5

It's quite a widespread thing as people usually have no Qt applications on their computers or these applications use a very outdated Qt version ("stable" distributions say hello). There are also two major Qt versions actively used currently: 5 an 6, tdesktop's official builds are built with Qt 6 for Linux (6.4.1 precisely right now). I also can't reproduce in a clean Ubuntu 22.04 VM though.

Would installing Qt6 solve any of the problems? Is there a way to force tgdesktop to run with Qt6? If necessary I can do the test

ilya-fedin commented 1 year ago

Would installing Qt6 solve any of the problems? Is there a way to force tgdesktop to run with Qt6?

I'm not quite sure what do you mean by this, if you're using tdesktop from official builds, it's already using Qt 6 as I already said.

john-preston commented 1 year ago

About the interface scale - you'll be able to scale 0.5 of the current default scale in the next beta version.

ilya-fedin commented 1 year ago

@john-preston have you checked these arbitrary scale values on Wayland? When I tried to have the values the same as with 1x scale, but divided by devicePixelRatio (50, 62, 75, 100, 125, 150), I got artifacts on shadows with 62 and 125 values at least (75 may have them as well, didn't check).

khalil-i-o commented 1 year ago

Problem fixed in version 4.5.3. Unbelievable! Thank you very much @john-preston @ilya-fedin

ilya-fedin commented 1 year ago

There were nothing done for it to solve :thinking:

khalil-i-o commented 1 year ago

As an extra: The interface scaling setting was kept at 240%, but text selection works without any problem

imagen

khalil-i-o commented 1 year ago

There were nothing done for it to solve thinking

That's strange, because the text selection now works without the problem of being decentered. I ran it from the terminal and no longer appears the error that appeared at the beginning:

QTextCursor::setPosition: Position '8388607' out of range

This is the complete log when running the application:

$: /Telegram 
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
Unsupported modifier, resource creation failed.
XXX: resource creation failed
qt.gui.imageio.jpeg: Corrupt JPEG data: premature end of data segment
ilya-fedin commented 1 year ago

Maybe it's non-deterministic?

khalil-i-o commented 1 year ago

Also, no system updates were executed, only the Telegram Desktop update

khalil-i-o commented 1 year ago

Correction, if there was a system update

ilya-fedin commented 1 year ago

There were previously kinds of bugs that Qt's position detection bugs with multiple screens on Wayland. If you have multiple screens and test on another one now, it could explain.

ilya-fedin commented 1 year ago

If you're testing with snap now rather than static binary, it would also explain as snap package uses mesa from PPA now that can directly affect surface behavior

ilya-fedin commented 1 year ago

Correction, if there was a system update

ah, maybe it is

khalil-i-o commented 1 year ago

If you have multiple screens and test on another one now, it could explain.

I only have one screen

If you're testing with snap now rather than static binary

I currently use the binary.

ah, maybe it is

Most likely. I retested the screen recording, and now the cursor is not agiggant.

BugSolved-TDesktop.webm

ilya-fedin commented 1 year ago

the cursor is not agiggant

giant?

khalil-i-o commented 1 year ago

giant?

This: https://github.com/telegramdesktop/tdesktop/issues/25673#issuecomment-1370300108

ilya-fedin commented 1 year ago

I mean does "agiggant" means "giant"?

khalil-i-o commented 1 year ago

Yes. Sorry, my English is under construction.

ilya-fedin commented 1 year ago

It's apparently not giant because Qt was updated to 6.4.2 and it now gets cursor settings from GNOME... Although I wouldn't expect this to affect click position handling.

ilya-fedin commented 1 year ago

idk what has changed, but now I'm able to reproduce this in my Ubuntu 22.04 VM

ilya-fedin commented 1 year ago

GNOME seem to do a very weird thing: it changes the cursor anchor for every other cursor than the generic pointer, so it displays it way upper and left than it is. If I try to screenshot with mouse, the screenshot tool displays the cursor where it is in reality. This is most obvious when finding the point to resize the window.

ilya-fedin commented 1 year ago

@khalil-i-o are you using Ubuntu in a VM, too? I can assume this is a bug in the virtualization agent (spice-vdagent), I saw such kind of bugs with Plasma Wayland previously in virtualized environments (and, well, it's very fragile and easy to see it even now with multiple virtual screens or by killing spice-vdagent).

ilya-fedin commented 1 year ago

I can reproduce this with any application in the system now, in fact

khalil-i-o commented 1 year ago

are you using Ubuntu in a VM, too?

@ilya-fedin No, Ubuntu is installed as the main operating system.

so it displays it way upper and left than it is.

This is exactly what happened to me before, up and to the left.

khalil-i-o commented 1 year ago

(Sorry, wrong button)

khalil-i-o commented 1 year ago

I don't know what information would be useful to find the difference, if you need any let me know.

The only one that comes to mind is the following:

I don't know what information would be useful to find the difference, if you need any let me know.

The only one that comes to mind is the following:

$ gnome-shell --version
GNOME Shell 42.5
ilya-fedin commented 1 year ago

This is exactly what happened to me before, up and to the left.

This is reproducible in any application for me, not only tdesktop

khalil-i-o commented 1 year ago

For the record, here is what I did prior to solving the problem (for me)

I installed Plasma:

Setting up libkf5codecs-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5package-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5idletime5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5service-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5kcmutils-data (5.92.0-0ubuntu1) ...^M
Setting up libpackagekitqt5-1:amd64 (1.0.2-1) ...^M
Setting up libkf5config-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5solid5-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5bookmarks-data (5.92.0-0ubuntu1) ...^M
Setting up qml-module-qtqml:amd64 (5.15.3+dfsg-1) ...^M
Setting up libkf5i18n-data (5.92.0-0ubuntu2) ...^M
Setting up libkf5auth-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5itemviews-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5codecs5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5parts-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5archive5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libsnapd-qt1:amd64 (1.60-0ubuntu1) ...^M
Setting up libkf5configcore5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5windowsystem-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5declarative-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5xmlgui-data (5.92.0-0ubuntu2) ...^M
Setting up libkf5configwidgets-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5completion-data (5.92.0-0ubuntu1) ...^M
Setting up debconf-kde-data (1.1.0-1) ...^M
Setting up libkf5itemmodels5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libqt5waylandclient5:amd64 (5.15.3-1) ...^M
Setting up qml-module-qt-labs-folderlistmodel:amd64 (5.15.3+dfsg-1) ...^M
Setting up qml-module-qt-labs-settings:amd64 (5.15.3+dfsg-1) ...^M
Setting up libqt5waylandcompositor5:amd64 (5.15.3-1) ...^M
Setting up libkf5coreaddons-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5kirigami2-5 (5.92.0-0ubuntu2) ...^M
Setting up libkf5configgui5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libqt5texttospeech5:amd64 (5.15.3-1) ...^M
Setting up libkf5dbusaddons-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5syndication5abi1:amd64 (1:5.92.0-0ubuntu1) ...^M
Setting up libkf5notifications-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5dbusaddons-bin (5.92.0-0ubuntu1) ...^M
Setting up libkf5wallet-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5jobwidgets-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5sonnet5-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5iconthemes-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5kiontlm5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up python3-pyqt5.sip (12.9.1-1build1) ...
Setting up libkf5globalaccel-data (5.92.0-0ubuntu1) ...^M
Setting up qtspeech5-speechd-plugin:amd64 (5.15.3-1) ...^M
Setting up qml-module-qtqml-models2:amd64 (5.15.3+dfsg-1) ...^M
Setting up libkf5config-bin (5.92.0-0ubuntu1) ...^M
Setting up libkf5guiaddons-bin (5.92.0-0ubuntu1) ...^M
Setting up libappstreamqt2:amd64 (0.15.2-2) ...^M
Setting up libkf5textwidgets-data (5.92.0-0ubuntu1) ...^M
Setting up libkf5guiaddons-data (5.92.0-0ubuntu1) ...^M
Setting up apt-config-icons-large (0.15.2-2) ...^M
Setting up libdbusmenu-qt5-2:amd64 (0.9.3+16.04.20160218-2build1) ...^M
Setting up libkf5windowsystem5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5widgetsaddons-data (5.92.0-0ubuntu1) ...^M
Setting up libmarkdown2:amd64 (2.2.7-2) ...^M
Setting up libpolkit-qt5-1-1:amd64 (0.114.0-2) ...^M
Setting up qml-module-qtquick-privatewidgets:amd64 (5.15.3-1) ...^M
Setting up libhfstospell11:amd64 (0.5.2-1build3) ...^M
Setting up kwayland-data (4:5.92.0-0ubuntu1) ...^M
Setting up python3-pyqt5 (5.15.6+dfsg-1ubuntu3) ...^M
Setting up libkf5sonnetcore5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5attica5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5solid5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up plasma-discover-common (5.24.7-0ubuntu0.1) ...^M
Setting up libvoikko1:amd64 (4.3.1-1build1) ...^M
Setting up libkf5itemviews5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5widgetsaddons5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5i18n5:amd64 (5.92.0-0ubuntu2) ...^M
Setting up libkf5guiaddons5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5xmlgui-bin:amd64 (5.92.0-0ubuntu2) ...^M
Setting up qtwayland5:amd64 (5.15.3-1) ...^M
Setting up libkf5doctools5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up qml-module-qtquick-controls:amd64 (5.15.3-1) ...^M
Setting up libkf5dbusaddons5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up sonnet-plugins:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5globalaccel5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5sonnetui5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5waylandclient5:amd64 (4:5.92.0-0ubuntu1) ...^M
Setting up apt-config-icons-large-hidpi (0.15.2-2) ...^M
Setting up qml-module-org-kde-sonnet:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5completion5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up qml-module-qtquick-dialogs:amd64 (5.15.3-1) ...^M
Setting up kwayland-integration:amd64 (4:5.24.4-0ubuntu1) ...^M
Setting up gamin (0.1.10-6) ...^M
Setting up libgamin0 (0.1.10-6) ...^M
Setting up libkf5coreaddons5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5package5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up kpackagetool5 (5.92.0-0ubuntu1) ...^M
Setting up libkf5authcore5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5configwidgets5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5notifications5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5jobwidgets5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkwalletbackend5-5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5textwidgets5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5globalaccelprivate5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5crash5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5service5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5wallet5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5iconthemes5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5auth5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5globalaccel-bin (5.92.0-0ubuntu1) ...^M
Setting up libdebconf-kde1:amd64 (1.1.0-1) ...^M
Setting up libkf5service-bin (5.92.0-0ubuntu1) ...^M
Setting up kded5 (5.92.0-0ubuntu1) ...^M
Setting up libkf5xmlgui5:amd64 (5.92.0-0ubuntu2) ...^M
Setting up libkf5iconthemes-bin (5.92.0-0ubuntu1) ...^M
Setting up libkf5kiocore5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5wallet-bin (5.92.0-0ubuntu1) ...^M
Setting up debconf-kde-helper (1.1.0-1) ...^M
Setting up libkf5bookmarks5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up software-properties-qt (0.99.22.3) ...^M
Setting up libkf5kiogui5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5kiowidgets5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5kiofilewidgets5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up kio (5.92.0-0ubuntu1) ...^M
Setting up xdg-desktop-portal-kde (5.24.7-0ubuntu0.1) ...^M
Setting up libkf5parts5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5declarative5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5quickaddons5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up libkf5newstuffcore5:amd64 (5.92.0-0ubuntu1.1) ...^M
Setting up libkf5kcmutils5:amd64 (5.92.0-0ubuntu1) ...^M
Setting up kde-config-updates (5.24.7-0ubuntu0.1) ...^M
Setting up keditbookmarks (21.12.3-0ubuntu1) ...^M
Setting up libkf5parts-plugins (5.92.0-0ubuntu1) ...^M
Setting up kpackagelauncherqml (5.92.0-0ubuntu1) ...^M
Setting up qml-module-org-kde-kquickcontrols:amd64 (5.92.0-0ubuntu1) ...^M
Setting up qml-module-org-kde-kquickcontrolsaddons:amd64 (5.92.0-0ubuntu1) ...^M
Setting up qml-module-org-kde-kcoreaddons:amd64 (5.92.0-0ubuntu1) ...^M
Setting up qml-module-org-kde-kirigami2 (5.92.0-0ubuntu2) ...^M
Setting up qml-module-org-kde-qqc2desktopstyle (5.92.0-0ubuntu1) ...^M
Setting up qml-module-org-kde-newstuff (5.92.0-0ubuntu1.1) ...^M
Setting up plasma-discover (5.24.7-0ubuntu0.1) ...^M
Setting up plasma-discover-backend-snap (5.24.7-0ubuntu0.1) ...^M
Setting up plasma-discover-backend-fwupd (5.24.7-0ubuntu0.1) ...^M
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...^M
Processing triggers for hicolor-icon-theme (0.17-2) ...^M
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...^M
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...^M
Processing triggers for man-db (2.10.2-1) ...^M
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...^M
Processing triggers for shared-mime-info (2.1-2) ...^M
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...

I then performed the system update:

Configurando python3-problem-report (2.20.11-0ubuntu82.3) ...
Configurando libglib2.0-0:amd64 (2.72.4-0ubuntu1) ...
Configurando libsasl2-modules:amd64 (2.1.27+dfsg2-3ubuntu1.1) ...
Configurando binutils-common:amd64 (2.38-4ubuntu2.1) ...
Configurando linux-libc-dev:amd64 (5.15.0-57.63) ...
Configurando libctf-nobfd0:amd64 (2.38-4ubuntu2.1) ...
Configurando libcurl3-gnutls:amd64 (7.81.0-1ubuntu1.7) ...
Configurando samba-common (2:4.15.9+dfsg-0ubuntu0.3) ...
Configurando nautilus-data (1:42.2-0ubuntu2.1) ...
Configurando libnautilus-extension1a:amd64 (1:42.2-0ubuntu2.1) ...
Configurando libwbclient0:amd64 (2:4.15.9+dfsg-0ubuntu0.3) ...
Configurando python3-apport (2.20.11-0ubuntu82.3) ...
Configurando libsasl2-modules-db:amd64 (2.1.27+dfsg2-3ubuntu1.1) ...
Configurando tzdata (2022g-0ubuntu0.22.04.1) ...
Configurando libglib2.0-data (2.72.4-0ubuntu1) ...^M
Configurando linux-headers-5.15.0-57-generic (5.15.0-57.63) ...^M
Configurando libpython3.10-minimal:amd64 (3.10.6-1~22.04.2) ...^M
Configurando libsasl2-2:amd64 (2.1.27+dfsg2-3ubuntu1.1) ...^M
Configurando libcurl4:amd64 (7.81.0-1ubuntu1.7) ...^M
Configurando libtiff5:amd64 (4.3.0-6ubuntu0.3) ...^M
Configurando ubuntu-advantage-tools (27.12~22.04.1) ...^M
Instalando una nueva versión del fichero de configuración /etc/ubuntu-advantage/help_data.yaml ...^M
Instalando una nueva versión del fichero de configuración /etc/update-motd.d/91-contract-ua-esm-status ...^M
Configurando xserver-common (2:21.1.3-2ubuntu2.5) ...^M
Configurando xwayland (2:22.1.1-1ubuntu0.4) ...^M
Configurando libbinutils:amd64 (2.38-4ubuntu2.1) ...^M
Configurando libbpf0:amd64 (1:0.5.0-1ubuntu22.04.1) ...^M
Configurando linux-headers-generic-hwe-22.04 (5.15.0.57.55) ...^M
Configurando libsasl2-modules-gssapi-mit:amd64 (2.1.27+dfsg2-3ubuntu1.1) ...^M
Configurando xserver-xorg-legacy (2:21.1.3-2ubuntu2.5) ...^M
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file^M
Configurando libxml2:amd64 (2.9.13+dfsg-1ubuntu0.2) ...^M
Configurando nautilus (1:42.2-0ubuntu2.1) ...^M
Configurando initramfs-tools-bin (0.140ubuntu13.1) ...^M
Configurando initramfs-tools-bin (0.140ubuntu13.1) ...^M
Configurando libfprint-2-2:amd64 (1:1.94.3+tod1-0ubuntu2~22.04.03) ...^M
Configurando libctf0:amd64 (2.38-4ubuntu2.1) ...^M
Configurando snapd (2.57.5+22.04ubuntu0.1) ...^M
Instalando una nueva versión del fichero de configuración /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...^M
snapd.failure.service is a disabled or a static unit not running, not starting it.^M
snapd.snap-repair.service is a disabled or a static unit not running, not starting it.^M
Configurando xserver-xorg-core (2:21.1.3-2ubuntu2.5) ...^M
Configurando libglib2.0-bin (2.72.4-0ubuntu1) ...^M
Configurando python3.10-minimal (3.10.6-1~22.04.2) ...^M
Configurando apport (2.20.11-0ubuntu82.3) ...^M
apport-autoreport.service is a disabled or a static unit, not starting it.^M
Configurando python3-tz (2022.1-1ubuntu0.22.04.0) ...^M
Configurando libpython3.10-stdlib:amd64 (3.10.6-1~22.04.2) ...^M
Configurando python3-pil:amd64 (9.0.1-1ubuntu0.1) ...^M
Configurando xserver-xephyr (2:21.1.3-2ubuntu2.5) ...^M
Configurando apport-gtk (2.20.11-0ubuntu82.3) ...^M
Configurando initramfs-tools-core (0.140ubuntu13.1) ...^M
Configurando binutils-x86-64-linux-gnu (2.38-4ubuntu2.1) ...^M
Configurando libpython3.10:amd64 (3.10.6-1~22.04.2) ...^M
Configurando python3.10 (3.10.6-1~22.04.2) ...^M
Configurando initramfs-tools (0.140ubuntu13.1) ...^M
update-initramfs: deferring update (trigger activated)^M
Configurando samba-libs:amd64 (2:4.15.9+dfsg-0ubuntu0.3) ...^M
Configurando binutils (2.38-4ubuntu2.1) ...^M
Configurando libsmbclient:amd64 (2:4.15.9+dfsg-0ubuntu0.3) ...^M
Configurando python3-samba (2:4.15.9+dfsg-0ubuntu0.3) ...^M
Configurando samba-common-bin (2:4.15.9+dfsg-0ubuntu0.3) ...^M
Configurando samba (2:4.15.9+dfsg-0ubuntu0.3) ...
Configurando python3-distupgrade (1:22.04.15) ...^M
Configurando ubuntu-release-upgrader-core (1:22.04.15) ...^M
Configurando update-manager-core (1:22.04.10) ...^M
Configurando ubuntu-release-upgrader-gtk (1:22.04.15) ...^M
Configurando update-manager (1:22.04.10) ..

And I had to uninstall this package to get Inkscape (appimage) to work properly:

lib2geom1.1.0:amd64 (1.1-2build1)

Then I installed Inkscape from (ppa):

Configurando libwmf-bin (0.2.12-5ubuntu1) ...^M
Configurando libgslcblas0:amd64 (2.7.1+dfsg-3) ...^M
Configurando libimage-magick-q16-perl (8:6.9.11.60+dfsg-1.3build2) ...^M
Configurando gawk (1:5.1.0-1build3) ...^M
Configurando libgsl27:amd64 (2.7.1+dfsg-3) ...^M
Configurando fig2dev (1:3.2.8b-1) ...^M
Configurando python3-webencodings (0.5.1-4) ...^M
Configurando lib2geom1.1.0:amd64 (1.1-2build1) ...^M
Configurando python3-html5lib (1.1-3) ...^M
Configurando python3-numpy (1:1.21.5-1ubuntu22.04.1) ...^M
Configurando python3-lxml:amd64 (4.8.0-1build1) ...^M
Configurando python3-scour (0.38.2-2) ...^M
Configurando libmagick++-6.q16-8:amd64 (8:6.9.11.60+dfsg-1.3build2) ...^M
Configurando libimage-magick-perl (8:6.9.11.60+dfsg-1.3build2) ...^M
Configurando python3-soupsieve (2.3.1-1) ...^M
Configurando libpotrace0:amd64 (1.16-2) ...^M
Configurando python3-bs4 (4.10.0-2) ...^M
Configurando inkscape (1.1.2-3ubuntu1) ...^M
Configurando inkscape-speleo (1.8-4) ...^M
Configurando inkscape-survex-export (2.0-1) ...^M
Configurando inkscape-open-symbols (1.2.1-1) ...^M
khalil-i-o commented 1 year ago

In the log, I saw some packages related to Qt and Wayland: