https://bugs.kde.org/show_bug.cgi?id=504611

--- Comment #3 from Sergio <sergio.calleg...@gmail.com> ---
I have made more tests. There are two (maybe three) different issues. Please
let me know if I should open separate bugs:

1. The tablet mode detection does not work with my tablet. So with the default
setup in which it gets activated, the autorotation does not work and one gets
the impression of a regression. Probably there is no regression in strict
sense, but the fact that autorotation is now by default enabled only in tablet
mode and that the test for the tablet mode does not work properly gives this
impression.

    - Now, it is unclear to me how the test for the tablet mode works on the
kde/plasma side. I understand that there is no standard interface on linux for
this, like a "/sys/class/chassis/tablet_mode" standard pseudo-file, but that
linux should report this via evdev. Is it correct? Now, if this is the case, I
really do not understand how it can work, because evdev is meant to report
*events* (namely changes). So, how can one sample at a point in time the
tablet/not tablet state, without having watched the previous event history. And
how can one say if the hardware supports communicating the mode (tablet/not
tablet) at all? Because if the hardware does not, the GUI should probably not
propose the "only in tablet mode" tickbox at all.

2. When you select an "initial" rotation from the kernel boot parameters, with
something like "video=DSI-1:panel_orientation=right_side_up", then the plasma
auto-rotation gets skewed by that same amount. Kwin should consider that
initial rotation.

Alternatively to having kwin consider the initial rotation practiced by the
kernel itself, one might want to consider the following point:

3. When you have the display rotation set to "automatic" the possibility to
select an orientation is grayed out, but I think it could be advantageous to
still let the user select a rotation, to be used in this case as the "base"
one, to work around situations like 2.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to