mirage icon indicating copy to clipboard operation
mirage copied to clipboard

Unable to click, scroll or swipe on a Pinephone

Open Hyask opened this issue 3 years ago • 7 comments

Description

The touch screen input doesn't really work: I'm unable to click, scroll, swipe, or anything, but mashing a click on a button (e.g the attachment one) sometimes brings me the tooltip, so I'd say that some things still work.

Here is a video of the behavior:

https://user-images.githubusercontent.com/7489759/127024000-52e42dd6-5d94-44f2-97ed-f0f097522d45.mp4

I also get this log in the console output:

[skia@plasma-mobile mirage]$ ./mirage
~ 17:44:16 | Got library name:  "/usr/lib/qt/qml/io/thp/pyotherside/libpyothersideplugin.so"
! 17:45:45 | qrc:/src/gui/Base/HFlickableColumnPage.qml:27:5: QML HFlickable: Binding loop detected for property "contentHeight"
! 17:45:47 | qrc:/src/gui/Pages/Chat/Timeline/EventContextMenu.qml:19: TypeError: Cannot call method 'get' of undefined
! 17:45:47 | qrc:/src/gui/Pages/Chat/Timeline/EventList.qml:648: TypeError: Cannot read property 'count' of undefined

Your environment

  • Manjaro on a Pinephone
  • arm64
  • Plasma Mobile
  • Manual installation from repository, version 0.7.2 (9a4ababd9aa59bd)
  • All settings are default, I even deleted all found settings files in ~/.config/mirage, except accounts.json
  • Qt version: 5.15.2
  • Python version: 3.9.6

Steps to reproduce

Just open Mirage on a Pinephone (maybe any touch device?)

Expected behavior

Be able to click, scroll, swipe to navigate the UI.

Actual behavior

The click triggers the tooltips, but the navigation is impossible.

Hyask avatar Jul 26 '21 16:07 Hyask

Can confirm on Phosh and a bit outdated Arch ARM. Version 0.7.1 worked great.

DrRac27 avatar Jul 26 '21 17:07 DrRac27

I've bisected the behavior to this commit: 58b4667c31cd6a29df0c3d24c5912a1b4930e908
Sadly I don't know QML, nor even C++, so I've absolutely no clue on what's going on...

Hyask avatar Jul 27 '21 08:07 Hyask

I confirm the issue here with 0.7.2 in mobian pinephone

It worked fine in 0.6.4

please, can someone revert the culprit commit?

sc0w avatar Sep 28 '21 10:09 sc0w

Can confirm on latest Mobian: matrix-mirage/testing,now 0.7.2~dfsg+~hsluv1.0.0+~1.0.0-2 arm64 on mobian with 5.14-sunxi64

Unfortunately, mirage is currently unusable.

karlkashofer avatar Oct 03 '21 10:10 karlkashofer

debian bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995632

sc0w avatar Oct 03 '21 14:10 sc0w

This was worked around in debian by reverting the offending commit. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995632

However it seems its only a partial fix as swiping is still not working. Any chance of getting this fixed properly inside of mirage ? That would be nice as mirage is the only matrix client with e2e on linux mobile and it was working really reliably until recently. Thanks, kk

karlkashofer avatar Oct 07 '21 17:10 karlkashofer

ℹ️ This can be fixed with PR #273, tested on my PinePhone. It rectifies the feature that originally broke the touch controls: you can use the Back and Forward mouse buttons to navigate. Tested on my desktop (I use Mirage everywhere 😄).

Dejvino avatar Nov 18 '21 17:11 Dejvino