* [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05
@ 2021-09-06 13:29 bugzilla
2021-09-08 12:30 ` [Buildroot] [Bug 14206] " bugzilla
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla @ 2021-09-06 13:29 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14206
Bug ID: 14206
Summary: QT5 touch screen rotation does not work since 2021.05
Product: buildroot
Version: 2021.05
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: t.ruschival@gmail.com
CC: buildroot@uclibc.org
Target Milestone: ---
The `rotate` parameter for the touchscreen orientation does not work using
environment variable QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS in QT5. e.g.
QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touch:rotate=90 has no effect.
No value for rotation (90,180,270) has any effect.
It used to work up until 2021.02 and stopped working since Buildroot 2021.05.
Looking for the cause I found that since 2021.05 libxkbcommon
(BR2_PACKAGE_LIBXKBCOMMON) and libinput (BR2_PACKAGE_LIBINPUT) are selected. In
turn libevdev (BR2_PACKAGE_LIBEVDEV) is selected.
Libinput and libxkbcommon are selected by
BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM.
As a quick check I removed the line 'source "package/kodi/Config.in"' form
package/Config.in and rebuilt all in this case the touch-input rotation works.
Kodi was never selected on the system. Would it make sense to only select
libinput and libxkbcommon if BR2_PACKAGE_KODI is actually selected?
I guess this affects all applications using QT5 with a rotated touch screen -
can anyone confirm this issue?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14206] QT5 touch screen rotation does not work since 2021.05
2021-09-06 13:29 [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05 bugzilla
@ 2021-09-08 12:30 ` bugzilla
2021-09-10 11:55 ` bugzilla
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-09-08 12:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14206
--- Comment #1 from Thomas Ruschival <t.ruschival@gmail.com> ---
I succeeded narrowing down the issue by commenting out
"package/kodi/Config.in"' in package/Config.in and manually adding libraries.
Adding only libevdev does not affect the behavior of QT. Adding libinput as
well the touch screen rotation does no longer work.
Apparently /usr/lib/qt/plugins/platforms/libqeglfs.so is dynamically linked
against libinput if it is available during build time of Qt5.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14206] QT5 touch screen rotation does not work since 2021.05
2021-09-06 13:29 [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05 bugzilla
2021-09-08 12:30 ` [Buildroot] [Bug 14206] " bugzilla
@ 2021-09-10 11:55 ` bugzilla
2021-09-11 7:59 ` bugzilla
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-09-10 11:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14206
Thomas Ruschival <t.ruschival@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Thomas Ruschival <t.ruschival@gmail.com> ---
It is not a bug but a behavior of Qt5 v5.15.
(https://doc.qt.io/qt-5/inputs-linux-device.html)
The issue can be solved/worked around in two different ways:
Either:
Disable the use of libinput (QT_QPA_EGLFS_NO_LIBINPUT=1) and continue using the
environment variable
QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touch:rotate=90
OR:
use the generic platform plugin configuration variable
QT_QPA_GENERIC_PLUGINS=evdevtouch:/dev/input/touch:rotate=90
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14206] QT5 touch screen rotation does not work since 2021.05
2021-09-06 13:29 [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05 bugzilla
2021-09-08 12:30 ` [Buildroot] [Bug 14206] " bugzilla
2021-09-10 11:55 ` bugzilla
@ 2021-09-11 7:59 ` bugzilla
2021-09-11 8:00 ` [Buildroot] [Bug 14206] Kodi: even when not enabled, forcefully selects libevdev and libinput [was: QT5 touch screen rotation does not work since 2021.05] bugzilla
2021-09-17 21:30 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-09-11 7:59 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14206
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
CC| |yann.morin.1998@free.fr
Assignee|unassigned@buildroot.uclibc |yann.morin.1998@free.fr
|.org |
--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thomas, All,
(In reply to Thomas Ruschival from comment #0)
> Looking for the cause I found that since 2021.05 libxkbcommon (BR2_PACKAGE_LIBXKBCOMMON)
> and libinput (BR2_PACKAGE_LIBINPUT) are selected. In turn libevdev (BR2_PACKAGE_LIBEVDEV)
> is selected.
> Libinput and libxkbcommon are selected by BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM.
Indeed, this code is incorrect; good catch! :-)
I'll send a patch soonish to fix that.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14206] Kodi: even when not enabled, forcefully selects libevdev and libinput [was: QT5 touch screen rotation does not work since 2021.05]
2021-09-06 13:29 [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05 bugzilla
` (2 preceding siblings ...)
2021-09-11 7:59 ` bugzilla
@ 2021-09-11 8:00 ` bugzilla
2021-09-17 21:30 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-09-11 8:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14206
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|QT5 touch screen rotation |Kodi: even when not
|does not work since 2021.05 |enabled, forcefully selects
| |libevdev and libinput [was:
| |QT5 touch screen rotation
| |does not work since
| |2021.05]
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 14206] Kodi: even when not enabled, forcefully selects libevdev and libinput [was: QT5 touch screen rotation does not work since 2021.05]
2021-09-06 13:29 [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05 bugzilla
` (3 preceding siblings ...)
2021-09-11 8:00 ` [Buildroot] [Bug 14206] Kodi: even when not enabled, forcefully selects libevdev and libinput [was: QT5 touch screen rotation does not work since 2021.05] bugzilla
@ 2021-09-17 21:30 ` bugzilla
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla @ 2021-09-17 21:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14206
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #4 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thomas, All,
Thanks for the report. We believe the issue has now been fixed with commit
b80c488d04 (package/kodi: fix selection of dependencies).
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@lists.buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-09-17 21:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-06 13:29 [Buildroot] [Bug 14206] New: QT5 touch screen rotation does not work since 2021.05 bugzilla
2021-09-08 12:30 ` [Buildroot] [Bug 14206] " bugzilla
2021-09-10 11:55 ` bugzilla
2021-09-11 7:59 ` bugzilla
2021-09-11 8:00 ` [Buildroot] [Bug 14206] Kodi: even when not enabled, forcefully selects libevdev and libinput [was: QT5 touch screen rotation does not work since 2021.05] bugzilla
2021-09-17 21:30 ` bugzilla
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.