Bug 461229 - Cannot trigger task switcher in halycon on the Steam Deck
Summary: Cannot trigger task switcher in halycon on the Steam Deck
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma-mobile
Classification: Plasma
Component: Shell (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Mobile Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-31 03:27 UTC by idoitprone
Modified: 2022-12-24 03:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Missing buttom navigation bar (106.27 KB, image/png)
2022-10-31 10:42 UTC, idoitprone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description idoitprone 2022-10-31 03:27:54 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Plasma mobile with Halycon layout on the Steam deck
2. Swipe up on the touch from the bottom

OBSERVED RESULT
Nothing happens

EXPECTED RESULT
The swipe should trigger the card switcher on the Steam deck. The feature works because I can trigger it with a mouse. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Opensuse Tumbleweed
(available in About System)
KDE Plasma Version:  5.26.2
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6


 lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Tumbleweed
Release:        20221029
Codename:       n/a

Information for package plasma5-mobile:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : plasma5-mobile
Version        : 5.26.2-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 2.2 MiB
Installed      : Yes
Status         : up-to-date
Source package : plasma5-mobile-5.26.2-1.1.src
Upstream URL   : http://www.kde.org/
Summary        : Plasma Mobile
Description    : 
    Plasma shell and components targeted for phones
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Tumbleweed
Release:        20221029
Codename:       n/a

Information for package plasma5-mobile:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : plasma5-mobile
Version        : 5.26.2-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 2.2 MiB
Installed      : Yes
Status         : up-to-dat
 lsb_release -a
LSB Version:    n/a
Distributor ID: openSUSE
Description:    openSUSE Tumbleweed
Release:        20221029
Codename:       n/a

Information for package plasma5-mobile:
---------------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : plasma5-mobile
Version        : 5.26.2-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 2.2 MiB
Installed      : Yes
Status         : up-to-date
Source package : plasma5-mobile-5.26.2-1.1.src
Upstream URL   : http://www.kde.org/
Summary        : Plasma Mobile
Description    : 
    Plasma shell and components targeted for phonese
Source package : plasma5-mobile-5.26.2-1.1.src
Upstream URL   : http://www.kde.org/
Summary        : Plasma Mobile
Description    : 
    Plasma shell and components targeted for phones

ADDITIONAL INFORMATION
Keep up the good work.
Comment 1 idoitprone 2022-10-31 03:29:39 UTC
I forgot to add an description. The Plasma mobile card task switcher does not trigger on the touch screen. The switcher does trigger with a mouse. The trigger must be tweak to accommodate the steam deck.
Comment 2 idoitprone 2022-10-31 03:40:19 UTC
After a few tests, I found a hardware quirk. The edge swipe only works on the right short side. 

This issue also affects the application menu.
Comment 3 idoitprone 2022-10-31 03:47:27 UTC
Nevermind, I might be misinterpreting the application menu. However, swipe up card only works on one side.
Comment 4 idoitprone 2022-10-31 03:50:15 UTC
The panel natural orientation is vertical. The display is rotate in the framebuffer. I guess there needs to be workaround for the other edges which doesn't trigger the swipe up for whatever reason.

https://github.com/torvalds/linux/blob/7e6739b9336e61fe23ca4e2c8d1fda8f19f979bf/drivers/gpu/drm/drm_panel_orientation_quirks.c#L341
Comment 5 idoitprone 2022-10-31 03:53:23 UTC
(In reply to idoitprone from comment #4)
> The panel natural orientation is vertical. The display is rotate in the
> framebuffer. I guess there needs to be workaround for the other edges which
> doesn't trigger the swipe up for whatever reason.
> 
> https://github.com/torvalds/linux/blob/
> 7e6739b9336e61fe23ca4e2c8d1fda8f19f979bf/drivers/gpu/drm/
> drm_panel_orientation_quirks.c#L341

I mange to trigger on the left short edge. However, you need to touch right where the screen meets to bezel. I cannot figure out how to trigger the long sides.
Comment 6 Devin Lin 2022-10-31 04:00:50 UTC
Hey there, I assume you are using the "Gesture-Only" mode (set in the shell settings)? Otherwise, there would be a navigation bar showing with buttons.

Could you take a picture of what the task switcher looks like? Just to make sure we are referring to the same thing, and not the desktop task switcher if it somehow got enabled.
Comment 7 idoitprone 2022-10-31 10:33:41 UTC
Yea, I am not sure how to take a screen shot but I used the same terminology in KDE Gear announcement

https://plasma-mobile.org/2022/09/27/plasma-mobile-gear-22-09/task-switcher-close-all.png
Comment 8 idoitprone 2022-10-31 10:39:21 UTC
It seems like I am still missing a bottom navigation bar.
Comment 9 idoitprone 2022-10-31 10:42:26 UTC
Created attachment 153349 [details]
Missing buttom navigation bar

Missing bottom navigation bar
Comment 10 idoitprone 2022-10-31 10:44:51 UTC
 cat ~/.config/plasma-org.kde.plasma.phoneshell-appletsrc
[Containments][2]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=3
plugin=org.kde.phone.panel
wallpaperplugin=org.kde.image

[Containments][2][Applets][3]
immutability=1
plugin=org.kde.plasma.notifications

[Containments][4]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.phone.taskpanel
wallpaperplugin=org.kde.image

[Containments][5]
activityId=66d46c28-44f0-4a8a-aaf7-067d9d248773
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.phone.homescreen.halcyon
wallpaperplugin=org.kde.potd

[Containments][5][ConfigDialog]
DialogHeight=977
DialogWidth=1598

[Containments][5][Shortcuts]
global=Meta+F1

[Containments][5][Wallpaper][org.kde.image][General]
SlidePaths=/usr/share/wallpapers/

[Containments][5][Wallpaper][org.kde.potd][General]
FillMode=1
Provider=epod
UpdateOverMeteredConnection=1

[ScreenMapping]
itemsOnDisabledScreens=0,66d46c28-44f0-4a8a-aaf7-067d9d248773,2,desktop:/trash.desktop,desktop:/Home.desktop
screenMapping=
Comment 11 idoitprone 2022-10-31 10:50:35 UTC
I do not know where is the gesture settings.
Comment 12 Devin Lin 2022-10-31 16:18:13 UTC
(In reply to idoitprone from comment #11)
> I do not know where is the gesture settings.

There should be an option in the "Shell" settings module.
Comment 13 idoitprone 2022-10-31 19:38:54 UTC
(In reply to Devin Lin from comment #12)
> (In reply to idoitprone from comment #11)
> > I do not know where is the gesture settings.
> 
> There should be an option in the "Shell" settings module.

Thanks. I guess the task switcher gesture works better on the side where the panel appears.(In reply to Devin Lin from comment #12)
> (In reply to idoitprone from comment #11)
> > I do not know where is the gesture settings.
> 
> There should be an option in the "Shell" settings module.

Thanks. Either way, the navigation bar and the gesture behavior is quite surprising. It always appear on the short side. I guess I may as well close it since it is way too early to figure out proper UX.
Comment 14 Devin Lin 2022-10-31 19:43:31 UTC
> Thanks. Either way, the navigation bar and the gesture behavior is quite surprising. It always appear on the short side. I guess I may as well close it since it is way too early to figure out proper UX.

The navigation bar appearing on the side of the screen right now is intentional, mainly because it was designed for phones (where vertical space is limited). However, it may make more sense to have it on the bottom for larger displays. 

The gestures being on the short side is likely a bug, it should always be on the bottom. I think the issue you may have had with the gestures only working on part of the display is Plasma drawing the invisible panel to not span the entire width of the screen. The gesture system is planned to be reworked to be a KWin effect instead (similar to desktop's overview), moving it out of Plasma which may make it much more robust.

https://invent.kde.org/plasma/plasma-mobile/-/issues/186
Comment 15 idoitprone 2022-10-31 19:56:43 UTC
(In reply to Devin Lin from comment #14)
> > Thanks. Either way, the navigation bar and the gesture behavior is quite surprising. It always appear on the short side. I guess I may as well close it since it is way too early to figure out proper UX.
> 
> The navigation bar appearing on the side of the screen right now is
> intentional, mainly because it was designed for phones (where vertical space
> is limited). However, it may make more sense to have it on the bottom for
> larger displays. 
> 
> The gestures being on the short side is likely a bug, it should always be on
> the bottom. I think the issue you may have had with the gestures only
> working on part of the display is Plasma drawing the invisible panel to not
> span the entire width of the screen. The gesture system is planned to be
> reworked to be a KWin effect instead (similar to desktop's overview), moving
> it out of Plasma which may make it much more robust.
> 
> https://invent.kde.org/plasma/plasma-mobile/-/issues/186

ok. i will close this bug. i dont have a good reason to keep it open
Comment 16 idoitprone 2022-12-24 03:41:33 UTC
  0  | single |       |                                 | root |            |         | current               |              
426* | single |       | Sat 05 Nov 2022 05:22:14 PM PDT | root |   4.91 MiB |         | writable copy of #422 |              
562  | pre    |       | Wed 21 Dec 2022 12:17:58 PM PST | root | 276.28 MiB | number  | zypp(zypper)          | important=yes
563  | post   |   562 | Wed 21 Dec 2022 12:18:05 PM PST | root |  80.12 MiB | number  |                       | important=yes
586  | pre    |       | Thu 22 Dec 2022 05:04:34 PM PST | root | 125.62 MiB | number  | zypp(zypper)          | important=no 
587  | post   |   586 | Thu 22 Dec 2022 05:04:46 PM PST | root | 480.00 KiB | number  |                       | important=no 
588  | pre    |       | Thu 22 Dec 2022 05:10:43 PM PST | root | 112.00 KiB | number  | zypp(zypper)          | important=no 
589  | post   |   588 | Thu 22 Dec 2022 05:10:50 PM PST | root |  48.00 KiB | number  |                       | important=no 
590  | pre    |       | Fri 23 Dec 2022 07:58:11 AM PST | root |   1.31 MiB | number  | zypp(zypper)          | important=yes
591  | post   |   590 | Fri 23 Dec 2022 08:00:44 AM PST | root |   1.36 MiB | number  |                       | important=yes
592  | pre    |       | Fri 23 Dec 2022 08:01:35 AM PST | root | 448.00 KiB | number  | zypp(zypper)          | important=yes
593  | post   |   592 | Fri 23 Dec 2022 08:01:42 AM PST | root | 624.00 KiB | number  |                       | important=yes
594  | pre    |       | Fri 23 Dec 2022 07:22:46 PM PST | root | 480.00 KiB | number  | yast snapper          |              
595  | post   |   594 | Fri 23 Dec 2022 07:23:09 PM PST | root | 304.00 KiB | number  |                    

Yast history