[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2019-01-18 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #21 from tro...@free.fr ---
I can confirm that it works great now on Plasma 5.15 beta !

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-11-01 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

Martin Flöser  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://commits.kde.org/kwi
   ||n/7c3a851b040e3b7d33186ce78
   ||7c43683ec076525
 Resolution|--- |FIXED
   Version Fixed In||5.15

--- Comment #20 from Martin Flöser  ---
Git commit 7c3a851b040e3b7d33186ce787c43683ec076525 by Martin Flöser.
Committed on 01/11/2018 at 16:49.
Pushed by graesslin into branch 'master'.

Support enabling numlock on startup

Summary:
This change brings improved num lock support to KWin. The modifier state
is read and also mapped to Qt::KeyboardModifiers. Furthermore the input
config is read and the NumLock key is evaluated. If the requested state
does not match the current num lock state the state is swapped.
FIXED-IN: 5.15

Test Plan: New unit test added, no manual test due to lack of hardware

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D16428

M  +43   -0autotests/integration/keyboard_layout_test.cpp
M  +1-0keyboard_input.cpp
M  +28   -0xkb.cpp
M  +11   -0xkb.h

https://commits.kde.org/kwin/7c3a851b040e3b7d33186ce787c43683ec076525

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-25 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=375708

Andrius Štikonas  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

--- Comment #19 from Andrius Štikonas  ---
(In reply to Martin Flöser from comment #18)
> Created attachment 115900 [details]
> Try 3
> 
> I added a unit test to investigate why my patch doesn't work and found a
> bug. I'm quite confident that it works now.

Third time's a charm.

Thanks a lot!

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-25 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

Martin Flöser  changed:

   What|Removed |Added

 Attachment #115644|0   |1
is obsolete||

--- Comment #18 from Martin Flöser  ---
Created attachment 115900
  --> https://bugs.kde.org/attachment.cgi?id=115900&action=edit
Try 3

I added a unit test to investigate why my patch doesn't work and found a bug.
I'm quite confident that it works now.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #17 from Andrius Štikonas  ---
(In reply to Martin Flöser from comment #16)
> Just to make sure: you have the config option to enable numlock set, right?

Yes, of course. In kcminputrc, I have [Keyboard] section which contains
NumLock=0.

And your patch is checking for 0 there.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #16 from Martin Flöser  ---
Just to make sure: you have the config option to enable numlock set, right?

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #15 from Andrius Štikonas  ---
(In reply to Martin Flöser from comment #14)
> Created attachment 115644 [details]
> Try 2

Still nothing :(

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

Martin Flöser  changed:

   What|Removed |Added

 Attachment #115640|0   |1
is obsolete||

--- Comment #14 from Martin Flöser  ---
Created attachment 115644
  --> https://bugs.kde.org/attachment.cgi?id=115644&action=edit
Try 2

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #13 from Martin Flöser  ---
I think I found the reason: I'm reading the config value from the wrong file.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #12 from Martin Flöser  ---
(In reply to Andrius Štikonas from comment #11)
> (In reply to Martin Flöser from comment #10)
> > Created attachment 115640 [details]
> > Possible patch
> > 
> > This is a possible patch for the feature. Unfortunately I only have systems
> > without num block, so I cannot test the patch.
> > 
> > Please try and report back whether the patch implements it correctly.
> 
> I tried it with Plasma 5.13.5 and it doesn't work.
> 
> Is there anything you want me to try to try to debug this patch out?

no, not really. I probably have to check into xkbcommon code to understand
better what I need to do, to set the modifier.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #11 from Andrius Štikonas  ---
(In reply to Martin Flöser from comment #10)
> Created attachment 115640 [details]
> Possible patch
> 
> This is a possible patch for the feature. Unfortunately I only have systems
> without num block, so I cannot test the patch.
> 
> Please try and report back whether the patch implements it correctly.

I tried it with Plasma 5.13.5 and it doesn't work.

Is there anything you want me to try to try to debug this patch out?

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-14 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #10 from Martin Flöser  ---
Created attachment 115640
  --> https://bugs.kde.org/attachment.cgi?id=115640&action=edit
Possible patch

This is a possible patch for the feature. Unfortunately I only have systems
without num block, so I cannot test the patch.

Please try and report back whether the patch implements it correctly.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-10-06 Thread Tiedemate
https://bugs.kde.org/show_bug.cgi?id=375708

Tiedemate  changed:

   What|Removed |Added

 CC||bjoerntiedem...@web.de

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-09-27 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #9 from Martin Flöser  ---
There is no need to post every 2 months that this is still not implemented.
Once we implement it the bug will be updated :-)

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-09-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=375708

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-09-14 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #8 from Dr. Chapatin  ---
Still valid for plasma 5.14 beta on Arch Linux.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-06-14 Thread Roman Gilg
https://bugs.kde.org/show_bug.cgi?id=375708

Roman Gilg  changed:

   What|Removed |Added

 CC||subd...@gmail.com
   Assignee|kwin-bugs-n...@kde.org  |subd...@gmail.com

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-05-18 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #7 from Dr. Chapatin  ---
still not working in plasma 5.13 beta, Arch Linux.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-02-08 Thread Andrius Štikonas
https://bugs.kde.org/show_bug.cgi?id=375708

Andrius Štikonas  changed:

   What|Removed |Added

 CC||andr...@stikonas.eu

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2018-01-16 Thread Dr . Chapatin
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #6 from Dr. Chapatin  ---
this bug affects plasma 5.12 beta on Arch Linux.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2017-08-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #5 from tro...@free.fr ---
Sorry, I thought it was already implemented and that I was encountering a bug.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2017-08-28 Thread Martin Flöser
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #4 from Martin Flöser  ---
There is no need to post every 2 months that this is still not implemented.
Once we implement it the bug will be updated :-)

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2017-08-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #3 from tro...@free.fr ---
The bug still occurs on Plasma 5.10.5 and KDE Frameworks 5.37.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2017-06-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=375708

--- Comment #2 from tro...@free.fr ---
This bug still happens on Plasma 5.10 with Frameworks 5.35.

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2017-04-14 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=375708

Martin Gräßlin  changed:

   What|Removed |Added

  Flags||Wayland+, X11-

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

[kwin] [Bug 375708] Turn on numlock at startup does not work under Wayland

2017-04-14 Thread Martin Gräßlin
https://bugs.kde.org/show_bug.cgi?id=375708

Martin Gräßlin  changed:

   What|Removed |Added

Version|unspecified |git master
  Component|kcm_keyboard|input
   Assignee|unassigned-b...@kde.org |kwin-bugs-n...@kde.org
Product|systemsettings  |kwin

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