Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Pyside6 virtual keyboard do not work.
QtWS25 Last Chance

Pyside6 virtual keyboard do not work.

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 511 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Calcifer
    wrote on 8 Oct 2024, 07:45 last edited by
    #1

    Hi All, I am running a pyside6(6.7.3) qml application on ARM Ubuntu Wayland-based platform, python version is 3.12.
    When using the QtVirtualKeyboard, virtualkeyboard can popup, but windows will lose focus, so it will result the virtualkeyboard hide immediately.
    QWidget also has such a problem.
    I tried pyside6 6.6.0 ~ 6.7.1, none of them works.

    And when I use virtualkeyboard under xorg, no Chinese prompt words appear.

    What I'd like to confirm is if there is no way to make the virtual keyboard work under Wayland.

    Can anyone give me some advice?
    Thanks advance.

    I have read these related post:
    https://forum.qt.io/topic/154066/problems-running-qtvirtualkeyboard-with-wayland-compositor

    https://forum.qt.io/topic/145214/qt5-1-5-linux-arm-qt-qpa-wayland-qtvirtualkeyboard-currently-is-not-supported-at-client-side-use-qt_im_module-qtvirtualkeyboard-at-compositor-side

    J 1 Reply Last reply 8 Oct 2024, 13:54
    0
    • C Calcifer
      8 Oct 2024, 07:45

      Hi All, I am running a pyside6(6.7.3) qml application on ARM Ubuntu Wayland-based platform, python version is 3.12.
      When using the QtVirtualKeyboard, virtualkeyboard can popup, but windows will lose focus, so it will result the virtualkeyboard hide immediately.
      QWidget also has such a problem.
      I tried pyside6 6.6.0 ~ 6.7.1, none of them works.

      And when I use virtualkeyboard under xorg, no Chinese prompt words appear.

      What I'd like to confirm is if there is no way to make the virtual keyboard work under Wayland.

      Can anyone give me some advice?
      Thanks advance.

      I have read these related post:
      https://forum.qt.io/topic/154066/problems-running-qtvirtualkeyboard-with-wayland-compositor

      https://forum.qt.io/topic/145214/qt5-1-5-linux-arm-qt-qpa-wayland-qtvirtualkeyboard-currently-is-not-supported-at-client-side-use-qt_im_module-qtvirtualkeyboard-at-compositor-side

      J Offline
      J Offline
      JKSH
      Moderators
      wrote on 8 Oct 2024, 13:54 last edited by
      #2

      @Calcifer said in Pyside6 virtual keyboard do not work.:

      What I'd like to confirm is if there is no way to make the virtual keyboard work under Wayland.

      It is not currently supported on Wayland clients. See the comments at https://bugreports.qt.io/browse/QTBUG-94994

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      C 1 Reply Last reply 9 Oct 2024, 01:55
      0
      • J JKSH
        8 Oct 2024, 13:54

        @Calcifer said in Pyside6 virtual keyboard do not work.:

        What I'd like to confirm is if there is no way to make the virtual keyboard work under Wayland.

        It is not currently supported on Wayland clients. See the comments at https://bugreports.qt.io/browse/QTBUG-94994

        C Offline
        C Offline
        Calcifer
        wrote on 9 Oct 2024, 01:55 last edited by Calcifer 10 Sept 2024, 03:48
        #3

        @JKSH Thank you,

        In fact, on this aarch-linux mechine, qtvirtualkeyboard works well on Konsole, I don't know how Konsole did it.

        I even tried Pyside2 5.12.5 and it didn't help.

        I just install qt5, and tried a QTextEdit case under Qt/C++, qtvirtualboard works well.

        Aren't C++ and pyside calling the same underlying library?

        # apt show konsole
        Package: konsole
        Version: 4:19.12.3-0ubuntu1
        Priority: optional
        Section: universe/kde
        Origin: Ubuntu
        Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
        Original-Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
        Bugs: https://bugs.launchpad.net/ubuntu/+filebug
        Installed-Size: 3,951 kB
        Provides: x-terminal-emulator
        Depends: konsole-kpart (= 4:19.12.3-0ubuntu1), kio, libc6 (>= 2.17), libkf5configcore5 (>= 4.98.0), libkf5configwidgets5 (>= 4.96.0), libkf5coreaddons5 (>= 5.2.0), libkf5crash5 (>= 5.15.0), libkf5dbusaddons5 (>= 4.99.0), libkf5globalaccel5 (>= 5.0.0), libkf5i18n5 (>= 4.97.0), libkf5iconthemes5 (>= 4.96.0), libkf5kiowidgets5 (>= 4.96.0), libkf5notifyconfig5 (>= 4.96.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5windowsystem5 (>= 4.100.0), libkf5xmlgui-bin, libkf5xmlgui5 (>= 4.98.0), libqt5core5a (>= 5.10.0), libqt5gui5 (>= 5.9.0~) | libqt5gui5-gles (>= 5.9.0~), libqt5widgets5 (>= 5.9.0~), libstdc++6 (>= 4.1.1)
        Suggests: lrzsz
        Breaks: kde-l10n-ar (<< 4:16.04.3-6~), kde-l10n-ast (<< 4:16.04.3-6~), kde-l10n-bg (<< 4:16.04.3-6~), kde-l10n-bs (<< 4:16.04.3-6~), kde-l10n-ca (<< 4:16.04.3-6~), kde-l10n-cavalencia (<< 4:16.04.3-6~), kde-l10n-cs (<< 4:16.04.3-6~), kde-l10n-da (<< 4:16.04.3-6~), kde-l10n-de (<< 4:16.04.3-6~), kde-l10n-el (<< 4:16.04.3-6~), kde-l10n-engb (<< 4:16.04.3-6~), kde-l10n-eo (<< 4:16.04.3-6~), kde-l10n-es (<< 4:16.04.3-6~), kde-l10n-et (<< 4:16.04.3-6~), kde-l10n-eu (<< 4:16.04.3-6~), kde-l10n-fa (<< 4:16.04.3-6~), kde-l10n-fi (<< 4:16.04.3-6~), kde-l10n-fr (<< 4:16.04.3-6~), kde-l10n-ga (<< 4:16.04.3-6~), kde-l10n-gl (<< 4:16.04.3-6~), kde-l10n-he (<< 4:16.04.3-6~), kde-l10n-hi (<< 4:16.04.3-6~), kde-l10n-hr (<< 4:16.04.3-6~), kde-l10n-hu (<< 4:16.04.3-6~), kde-l10n-ia (<< 4:16.04.3-6~), kde-l10n-id (<< 4:16.04.3-6~), kde-l10n-is (<< 4:16.04.3-6~), kde-l10n-it (<< 4:16.04.3-6~), kde-l10n-ja (<< 4:16.04.3-6~), kde-l10n-kk (<< 4:16.04.3-6~), kde-l10n-km (<< 4:16.04.3-6~), kde-l10n-ko (<< 4:16.04.3-6~), kde-l10n-lt (<< 4:16.04.3-6~), kde-l10n-lv (<< 4:16.04.3-6~), kde-l10n-mr (<< 4:16.04.3-6~), kde-l10n-nb (<< 4:16.04.3-6~), kde-l10n-nds (<< 4:16.04.3-6~), kde-l10n-nl (<< 4:16.04.3-6~), kde-l10n-nn (<< 4:16.04.3-6~), kde-l10n-pa (<< 4:16.04.3-6~), kde-l10n-pl (<< 4:16.04.3-6~), kde-l10n-pt (<< 4:16.04.3-6~), kde-l10n-ptbr (<< 4:16.04.3-6~), kde-l10n-ro (<< 4:16.04.3-6~), kde-l10n-ru (<< 4:16.04.3-6~), kde-l10n-sk (<< 4:16.04.3-6~), kde-l10n-sl (<< 4:16.04.3-6~), kde-l10n-sr (<< 4:16.04.3-6~), kde-l10n-sv (<< 4:16.04.3-6~), kde-l10n-tr (<< 4:16.04.3-6~), kde-l10n-ug (<< 4:16.04.3-6~), kde-l10n-uk (<< 4:16.04.3-6~), kde-l10n-wa (<< 4:16.04.3-6~), kde-l10n-zhcn (<< 4:16.04.3-6~), kde-l10n-zhtw (<< 4:16.04.3-6~)
        Replaces: kde-l10n-ar (<< 4:16.04.3-6~), kde-l10n-ast (<< 4:16.04.3-6~), kde-l10n-bg (<< 4:16.04.3-6~), kde-l10n-bs (<< 4:16.04.3-6~), kde-l10n-ca (<< 4:16.04.3-6~), kde-l10n-cavalencia (<< 4:16.04.3-6~), kde-l10n-cs (<< 4:16.04.3-6~), kde-l10n-da (<< 4:16.04.3-6~), kde-l10n-de (<< 4:16.04.3-6~), kde-l10n-el (<< 4:16.04.3-6~), kde-l10n-engb (<< 4:16.04.3-6~), kde-l10n-eo (<< 4:16.04.3-6~), kde-l10n-es (<< 4:16.04.3-6~), kde-l10n-et (<< 4:16.04.3-6~), kde-l10n-eu (<< 4:16.04.3-6~), kde-l10n-fa (<< 4:16.04.3-6~), kde-l10n-fi (<< 4:16.04.3-6~), kde-l10n-fr (<< 4:16.04.3-6~), kde-l10n-ga (<< 4:16.04.3-6~), kde-l10n-gl (<< 4:16.04.3-6~), kde-l10n-he (<< 4:16.04.3-6~), kde-l10n-hi (<< 4:16.04.3-6~), kde-l10n-hr (<< 4:16.04.3-6~), kde-l10n-hu (<< 4:16.04.3-6~), kde-l10n-ia (<< 4:16.04.3-6~), kde-l10n-id (<< 4:16.04.3-6~), kde-l10n-is (<< 4:16.04.3-6~), kde-l10n-it (<< 4:16.04.3-6~), kde-l10n-ja (<< 4:16.04.3-6~), kde-l10n-kk (<< 4:16.04.3-6~), kde-l10n-km (<< 4:16.04.3-6~), kde-l10n-ko (<< 4:16.04.3-6~), kde-l10n-lt (<< 4:16.04.3-6~), kde-l10n-lv (<< 4:16.04.3-6~), kde-l10n-mr (<< 4:16.04.3-6~), kde-l10n-nb (<< 4:16.04.3-6~), kde-l10n-nds (<< 4:16.04.3-6~), kde-l10n-nl (<< 4:16.04.3-6~), kde-l10n-nn (<< 4:16.04.3-6~), kde-l10n-pa (<< 4:16.04.3-6~), kde-l10n-pl (<< 4:16.04.3-6~), kde-l10n-pt (<< 4:16.04.3-6~), kde-l10n-ptbr (<< 4:16.04.3-6~), kde-l10n-ro (<< 4:16.04.3-6~), kde-l10n-ru (<< 4:16.04.3-6~), kde-l10n-sk (<< 4:16.04.3-6~), kde-l10n-sl (<< 4:16.04.3-6~), kde-l10n-sr (<< 4:16.04.3-6~), kde-l10n-sv (<< 4:16.04.3-6~), kde-l10n-tr (<< 4:16.04.3-6~), kde-l10n-ug (<< 4:16.04.3-6~), kde-l10n-uk (<< 4:16.04.3-6~), kde-l10n-wa (<< 4:16.04.3-6~), kde-l10n-zhcn (<< 4:16.04.3-6~), kde-l10n-zhtw (<< 4:16.04.3-6~)
        Homepage: http://www.kde.org/
        Task: kubuntu-desktop
        Download-Size: 746 kB
        APT-Manual-Installed: yes
        APT-Sources: http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
        Description: KDE终端模拟器
         Konsole 是一个建立在 KDE 平台上的终端模拟器。它可以在单窗口内使用可分离标签 打开多个终端会话。
         .
         Konsole 支持多种强大的终端功能,如色彩方案定制、会话保存和输出监控。```
        1 Reply Last reply
        0

        3/3

        9 Oct 2024, 01:55

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved