[effects] Enable touchpoints by default
Needs RevisionPublic

Authored by graesslin on Dec 31 2018, 8:46 AM.

Details

Reviewers
ngraham
Group Reviewers
KWin
VDG
Summary

I got really positive feedback about this effect especially for touch
only systems. Given that I suggest to enable it by default.

Test Plan

ctest passes

Diff Detail

Repository
R108 KWin
Branch
touchpoints-enabled-by-default
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 6493
Build 6511: arc lint + arc unit
graesslin created this revision.Dec 31 2018, 8:46 AM
Restricted Application added a project: KWin. · View Herald TranscriptDec 31 2018, 8:46 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
graesslin requested review of this revision.Dec 31 2018, 8:46 AM
zzag added a reviewer: VDG.Dec 31 2018, 10:26 AM

In principle this might be acceptable, but I'd like to make sure we don't regress anything like we did with the Screen Edge effect when that got turned on by default for all users (not just those with touch hardware): https://bugs.kde.org/show_bug.cgi?id=387775

I'd like to try it out, but the effect does not seem to have any effect on my system (a 2-in-1 convertible). Is this a known issue?

I've just enabled it on my laptop, will report back next week

In principle this might be acceptable, but I'd like to make sure we don't regress anything like we did with the Screen Edge effect when that got turned on by default for all users (not just those with touch hardware): https://bugs.kde.org/show_bug.cgi?id=387775

There is no chance that this can regress anywhere :-)

I'd like to try it out, but the effect does not seem to have any effect on my system (a 2-in-1 convertible). Is this a known issue?

You are using X11. The effect only supports Wayland.

I'd like to try it out, but the effect does not seem to have any effect on my system (a 2-in-1 convertible). Is this a known issue?

You are using X11. The effect only supports Wayland.

Oh ok. We should not even display it on X11 then since it gives the impression of just being broken, which doesn't make a great impression on the user.

zzag added a subscriber: zzag.Dec 31 2018, 10:47 PM

Oh ok. We should not even display it on X11 then since it gives the impression of just being broken, which doesn't make a great impression on the user.

Looks like it would be a good idea to expose OperationMode enum to effects, though adjusting our tests will be probably(not sure) a little bit painful.

I'd like to try it out, but the effect does not seem to have any effect on my system (a 2-in-1 convertible). Is this a known issue?

You are using X11. The effect only supports Wayland.

Oh ok. We should not even display it on X11 then since it gives the impression of just being broken, which doesn't make a great impression on the user.

It had been like that for several years and nobody cares so far. Let's not make a fuzz about nothing.

rooty added a subscriber: rooty.Jan 4 2019, 10:09 PM

I'd like to try it out, but the effect does not seem to have any effect on my system (a 2-in-1 convertible). Is this a known issue?

You are using X11. The effect only supports Wayland.

Oh ok. We should not even display it on X11 then since it gives the impression of just being broken, which doesn't make a great impression on the user.

It had been like that for several years and nobody cares so far. Let's not make a fuzz about nothing.

Well it used to cause Latte to break a few months ago but they fixed it.
Considering that it doesn't work, I think it should be disabled and unavailable in the menu (or removed entirely).

zzag added a comment.EditedJan 4 2019, 10:15 PM

Well it used to cause Latte to break a few months ago but they fixed it.
Considering that it doesn't work, I think it should be disabled and unavailable in the menu (or removed entirely).

Hiding it on X11 is out of scope of this revision.

I'd like to try it out, but the effect does not seem to have any effect on my system (a 2-in-1 convertible). Is this a known issue?

You are using X11. The effect only supports Wayland.

Oh ok. We should not even display it on X11 then since it gives the impression of just being broken, which doesn't make a great impression on the user.

It had been like that for several years and nobody cares so far. Let's not make a fuzz about nothing.

Well it used to cause Latte to break a few months ago but they fixed it.
Considering that it doesn't work, I think it should be disabled and unavailable in the menu (or removed entirely).

It's absolutely impossible that this effect broke anything. I think you are mixing up things.

mart added a subscriber: mart.Jan 9 2019, 3:40 PM

+100 from me

If there are no objections I would push it, so that we have it in the upcoming beta.

I used this for a week, and tried to poke my laptop screen more.

It didn't bother me, but I can't say I really gained anything as my finger was always in the way of the small circle.

So from my POV, whatever.

I used this for a week, and tried to poke my laptop screen more.

It didn't bother me, but I can't say I really gained anything as my finger was always in the way of the small circle.

Might be a hint that we need to increase the circles. You use scaling, don't you? Looking at the code we seem to hard code the max ring size and don't add any dpi information.

scaling,

I do but it shouldn't be the issue, the Wayland resizing is all done in the glViewport/QPainter viewport it should be bigger in pixels automagically.

zzag added a comment.Mar 22 2019, 9:39 PM

I've tried this effect and in general it looks okay to me. The only thing that I don't like is the default color palette but that's probably matter of personal taste.

Also, I believe we could improve visuals of this effect by making finger trails and ripples more smoother. The only problem is that we don't have any good API to draw arbitrary shapes on the screen in libkwineffects.

+1

ngraham requested changes to this revision.Mar 24 2019, 3:55 PM

+1 conceptually.

However I share the concern regarding the multiple colors, and the colored trail of circles left by swipe/touch-and-drag gestures looks really cartoony and amateurish IMO. I think before landing this we should address those issues.

This revision now requires changes to proceed.Mar 24 2019, 3:55 PM