<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>52887</bug_id>
          
          <creation_ts>2025-01-31 14:56:52 +0300</creation_ts>
          <short_desc>alterator-setup падает при попытке показать экранную клавиатуру</short_desc>
          <delta_ts>2025-02-03 17:40:45 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>qt6-virtualkeyboard</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan A. Melnikov">iv</reporter>
          <assigned_to name="Sergey V Turchin">zerg</assigned_to>
          <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>258379</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-01-31 14:56:52 +0300</bug_when>
    <thetext>Замечено на riscv64, воспроизвёл на aarch64 в qemu, проблема скорее всего переносимая.

Возьмите последний образ регулярки в формате *.img (я брал из снапшотов regular-xfce-20250129-aarch64.img.xz и распаковвывал).

Загрузите его в qemu без клавиатуры, например:

qemu-system-aarch64 \
        -nographic \
        -machine virt -cpu cortex-a57 -m 2048 -smp 4 \
        -bios /usr/share/AAVMF/QEMU_EFI-pflash.raw \
        -drive if=none,id=sda,format=raw,file=regular-xfce-20250129-aarch64.img  \
        -device virtio-blk-device,drive=sda \
        -device usb-ehci -device usb-mouse \
        -device virtio-net-device,netdev=net0 -netdev user,id=net0 \
        -device virtio-gpu-gl -display sdl,gl=on

Дождитесь появления мастера первоначальной настройки. Нажимайте &quot;Далее&quot;, пока не дойдёте до шага с текстовым полем -- это пароль для root&apos;а.

При попытке ткнуть в текстовое поле весь экран станет чёрным а курсор мыши превратится в крест -- процесс упадёт.

В логах будет видно следующее:

xinit[1890]: qrc:/qt-project.org/imports/QtQuick/VirtualKeyboard/InputPanel.qml: module &quot;QtQml.WorkerScript&quot; is not installed
xinit[1890]: qrc:/qt-project.org/imports/QtQuick/VirtualKeyboard/InputPanel.qml: module &quot;QtQml.WorkerScript&quot; is not installed
xinit[1890]: qrc:/qt-project.org/imports/QtQuick/VirtualKeyboard/InputPanel.qml: module &quot;QtQml.WorkerScript&quot; is not installed
xinit[1890]: qrc:/qt-project.org/imports/QtQuick/VirtualKeyboard/InputPanel.qml: module &quot;QtQml.WorkerScript&quot; is not installed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258380</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-01-31 14:59:40 +0300</bug_when>
    <thetext>В этой самой регулярке сейчас:

# rpm -qa | grep qt6 | sort
alterator-browser-qt6-3.5.4-alt1.aarch64
libqt6-core-6.7.2-alt8.aarch64
libqt6-dbus-6.7.2-alt8.aarch64
libqt6-eglfsdeviceintegration-6.7.2-alt8.aarch64
libqt6-eglfskmsgbmsupport-6.7.2-alt8.aarch64
libqt6-eglfskmssupport-6.7.2-alt8.aarch64
libqt6-gui-6.7.2-alt8.aarch64
libqt6-hunspellinputmethod-6.7.2-alt1.aarch64
libqt6-labsqmlmodels-6.7.2-alt1.aarch64
libqt6-network-6.7.2-alt8.aarch64
libqt6-opengl-6.7.2-alt8.aarch64
libqt6-qml-6.7.2-alt1.aarch64
libqt6-qmlmodels-6.7.2-alt1.aarch64
libqt6-quick-6.7.2-alt1.aarch64
libqt6-svg-6.7.2-alt1.aarch64
libqt6-virtualkeyboard-6.7.2-alt1.aarch64
libqt6-virtualkeyboardsettings-6.7.2-alt1.aarch64
libqt6-widgets-6.7.2-alt8.aarch64
libqt6-xcbqpa-6.7.2-alt8.aarch64
qt6-base-common-6.7.2-alt8.aarch64
qt6-declarative-common-6.7.2-alt1.aarch64
qt6-svg-common-6.7.2-alt1.noarch
qt6-translations-6.7.2-alt1.noarch
qt6-virtualkeyboard-6.7.2-alt1.aarch64
qt6-virtualkeyboard-common-6.7.2-alt1.noarch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258383</commentid>
    <comment_count>2</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-01-31 15:03:58 +0300</bug_when>
    <thetext>Судя по ошибке, не хватает libdqt6-qmlworkerscript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258384</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-01-31 15:17:16 +0300</bug_when>
    <thetext>&gt; libdqt6-qmlworkerscript.

Без &apos;d&apos; естественно.

Потыкал в acc на обновлённой системе без клавиатуры.  acc не падает, но в stderr выдаёт ту же ошибку. Доустановил туда libqt6-qmlworkerscipt. Ругается по другому и виснет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258385</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-01-31 15:19:45 +0300</bug_when>
    <thetext>(In reply to Ivan A. Melnikov from comment #3)
&gt; &gt; libdqt6-qmlworkerscript.
&gt; 
&gt; Без &apos;d&apos; естественно.
&gt; 
&gt; Потыкал в acc на обновлённой системе без клавиатуры.  acc не падает, но в
&gt; stderr выдаёт ту же ошибку. Доустановил туда libqt6-qmlworkerscipt. Ругается
&gt; по другому и виснет.

А по другому это как?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258386</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-01-31 15:24:00 +0300</bug_when>
    <thetext>&gt; А по другому это как?

Нехватает других импортов.

Чтобы клавиатура появилось понадобились ещё libqt6-quicklayouts и libqt6-labsfolderlistmodels.

Но это на системе которая у меня была. В регулярке может чего-то ещё нехватать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258387</commentid>
    <comment_count>6</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2025-01-31 15:52:37 +0300</bug_when>
    <thetext>(In reply to Ivan A. Melnikov from comment #5)
&gt; &gt; А по другому это как?
&gt; 
&gt; Нехватает других импортов.
&gt; 
&gt; Чтобы клавиатура появилось понадобились ещё libqt6-quicklayouts и
&gt; libqt6-labsfolderlistmodels.
&gt; 
&gt; Но это на системе которая у меня была. В регулярке может чего-то ещё
&gt; нехватать.

Проблема явно не в alterator-setup, а в alterator-browser-qt6. Не хватает зависимостей:
libqt6-qmlworkerscript
libqt6-quicklayouts
libqt6-labsfolderlistmodels</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258390</commentid>
    <comment_count>7</comment_count>
    <who name="Ivan A. Melnikov">iv</who>
    <bug_when>2025-01-31 16:33:03 +0300</bug_when>
    <thetext>Тогда уж libqt6-virtualkeyboard. Или куда там оно вкомпилировано в qrc:/?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258499</commentid>
    <comment_count>8</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-02-03 16:56:24 +0300</bug_when>
    <thetext>qt6-virtualkeyboard тогда уж. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258500</commentid>
    <comment_count>9</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2025-02-03 16:58:03 +0300</bug_when>
    <thetext>(Ответ для Антон Мидюков на комментарий #6)
&gt; Не хватает зависимостей:
&gt; libqt6-qmlworkerscript
&gt; libqt6-quicklayouts
&gt; libqt6-labsfolderlistmodels
В qt6-virtualkeyboard не хватает зависимости на qt6-declarative, видимо. Ща сделаю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258502</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-02-03 17:40:45 +0300</bug_when>
    <thetext>qt6-virtualkeyboard-6.7.2-alt2 -&gt; sisyphus:

 Mon Feb 03 2025 Sergey V Turchin &lt;zerg@altlinux&gt; 6.7.2-alt2
 - fix requires (closes: 52887)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>