Bug 499098 - Custom touchscreen gestures only working once if application is in fullscreen mode.
Summary: Custom touchscreen gestures only working once if application is in fullscreen...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: Hotcorners and edges (show other bugs)
Version: 6.2.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-24 17:08 UTC by lokman.almshdany
Modified: 2025-03-04 17:35 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lokman.almshdany 2025-01-24 17:08:48 UTC
When an application is in fullscreen mode(ALT + F11) or (ALT + F3->More actions->Fullscreen) , the custom touchscreen gestures (Settings->Touchscreen->Touchscreen gestures) only work once, when trying to do the gesture again, nothing happens. The only way to get it to work again is to switch applications then back to the desired application OR to rotate the screen. I have tried multiple types of actions from all sides of the screen and all gave me the same result (not specific to a certain action or a certain side of the screen). 


STEPS TO REPRODUCE
1. enable a custom touchscreen gesture  (Settings->Touchscreen->Touchscreen gestures)
2. enable fullscreen ALT + F11) or (ALT + F3->More actions->Fullscreen)
3. try the gesture once, it works, try again, it does not.

OBSERVED RESULT
gesture working only once

EXPECTED RESULT
gesture works normally

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20LDCTO1WW
System Version: ThinkPad X1 Yoga 3rd 

ADDITIONAL INFORMATION
I really hope this gets fixed ASAP because KDE has really been the savior for me on my touchscreen laptop, it is amazing and it's the best I've ever tried.
Comment 1 FormularSumo 2025-03-04 10:39:44 UTC
(In reply to lokman.almshdany from comment #0)
> When an application is in fullscreen mode(ALT + F11) or (ALT + F3->More
> actions->Fullscreen) , the custom touchscreen gestures
> (Settings->Touchscreen->Touchscreen gestures) only work once, when trying to
> do the gesture again, nothing happens. The only way to get it to work again
> is to switch applications then back to the desired application OR to rotate
> the screen. I have tried multiple types of actions from all sides of the
> screen and all gave me the same result (not specific to a certain action or
> a certain side of the screen). 
> 
> 
> STEPS TO REPRODUCE
> 1. enable a custom touchscreen gesture  (Settings->Touchscreen->Touchscreen
> gestures)
> 2. enable fullscreen ALT + F11) or (ALT + F3->More actions->Fullscreen)
> 3. try the gesture once, it works, try again, it does not.
> 
> OBSERVED RESULT
> gesture working only once
> 
> EXPECTED RESULT
> gesture works normally
> 
> SOFTWARE/OS VERSIONS
> Operating System: Arch Linux 
> KDE Plasma Version: 6.2.5
> KDE Frameworks Version: 6.10.0
> Qt Version: 6.8.1
> Kernel Version: 6.12.10-arch1-1 (64-bit)
> Graphics Platform: Wayland
> Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
> Memory: 7.6 GiB of RAM
> Graphics Processor: Mesa Intel® UHD Graphics 620
> Manufacturer: LENOVO
> Product Name: 20LDCTO1WW
> System Version: ThinkPad X1 Yoga 3rd 
> 
> ADDITIONAL INFORMATION
> I really hope this gets fixed ASAP because KDE has really been the savior
> for me on my touchscreen laptop, it is amazing and it's the best I've ever
> tried.

I'd been having the same issue, but since upgrading recently (somewhere between KDE Plasma 6.3.0 and 6.3.2) this behaviour has changed, and now touchscreen gestures don't work at all when in fullscreen. It's at least more consistent than before, but I think it would be best if they did work in fullscreen (or at least if there was an option to configure this). Without it, it can be very hard to exit fullscreen and perform actions such as changing volume, screen brightness etc, in some application which aren't really designed for touch inputs.

If you're able to upgrade to the 6.3 branch, could you check if this is also the new behaviour for you lokman.almshdany@gmail.com?
Comment 2 Zamundaaa 2025-03-04 16:58:12 UTC
You can change this behavior in the screen edges settings, by checking "Remain active when windows are fullscreen".

I fully agree that this is a bug though, that option should only disable the mouse screen edges, it shouldn't affect touch.
Comment 3 FormularSumo 2025-03-04 17:35:24 UTC
(In reply to Zamundaaa from comment #2)
> You can change this behavior in the screen edges settings, by checking
> "Remain active when windows are fullscreen".
> 
> I fully agree that this is a bug though, that option should only disable the
> mouse screen edges, it shouldn't affect touch.

Oh huh I didn't realise that that setting affected touch gestures. I've tested just now and it works well. For my use it's perfect actually, as I don't use mouse screen edge gestures, but as you say it'd be better as a separate (and easier to find) setting. Thanks though!