desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #78104
[Bug 1347735] Re: Lockscreen capslock detection doesn't work well with remapped capslocks
This bug was fixed in the package unity - 7.2.3+14.04.20140826-0ubuntu1
---------------
unity (7.2.3+14.04.20140826-0ubuntu1) trusty; urgency=medium
[ Andrea Azzarone ]
* Remove cross fade effect during lock/unlocking. A simple fading
works just fine. (LP: #1312107)
* Manually emit nux::Area::geometry_changed beucase nux can fail to
emit it. (LP: #1292391)
[ Pawel Szubert ]
* Reduce the scope of the kill command when restarting Compiz.
(LP: #1324114)
[ Marco Trevisan (Treviño) ]
* LockScreenAcceleratorController: do ther configured action on power
special keys press. We finally can suspend, shutdown, hibernate or
start the screensaver when the screen is locked, using the Suspend,
Sleep, Hibernate and PowerOff hardware keys. Also the Shutdown
dialog doesn't allow now to lock the session if it is not allowed by
settings. (LP: #1306211) (LP: #1320051) (LP: #1320071)
* Previews: scale the dash preview contents to match current monitor
scaling. Improved also the scaling of search-bar, spinner, categories
and many other components. (LP: #1339629)
* FilterWidgets: add support for scaling (LP: #1340171)
* OverlayRendering: correctly scale the overlays borders and edges to
match settings. DashStyle has been modified to return smart pointers
of textures that are loaded depending on the scale level. The cache
will make sure that we don't duplicate the textures and that they
get removed when not needed anymore. Also thanks to this the
SearchBarSpinner textures (and the other spinners as well) uses the
SVGs scaled at the proper size (I desgined a new SVG for the
magnifier, as we only had a PNG). (LP: #1283415) (LP: #1340394)
* Hud: scale to match current DPI settings for monitor. (LP: #1340477)
[ Eleni Maria Stea ]
* Previews: scale the dash preview contents to match current monitor
scaling. Improved also the scaling of search-bar, spinner, categories
and many other components. (LP: #1339629)
[ Stephen M. Webb ]
* Reduce the scope of the kill command when restarting Compiz.
(LP: #1324114)
[ Chris Townsend ]
* Bump version to 7.2.3.
unity (7.2.2+14.04.20140714-0ubuntu2) trusty; urgency=medium
[ Andrea Azzarone ]
* Remove cross fade effect during lock/unlocking. A simple fading
works just fine. (LP: #1312107)
* Manually emit nux::Area::geometry_changed beucase nux can fail to
emit it. (LP: #1292391)
* TextInput: use GdkKeymap to check the caps-lock status (LP: #1347735)
[ Pawel Szubert ]
* Reduce the scope of the kill command when restarting Compiz.
(LP: #1324114)
[ Marco Trevisan (Treviño) ]
* LockScreenAcceleratorController: do ther configured action on power
special keys press. We finally can suspend, shutdown, hibernate or
start the screensaver when the screen is locked, using the Suspend,
Sleep, Hibernate and PowerOff hardware keys. Also the Shutdown
dialog doesn't allow now to lock the session if it is not allowed by
settings. (LP: #1306211) (LP: #1320051) (LP: #1320071)
* Previews: scale the dash preview contents to match current monitor
scaling. Improved also the scaling of search-bar, spinner, categories
and many other components. (LP: #1339629)
* FilterWidgets: add support for scaling (LP: #1340171)
* OverlayRendering: correctly scale the overlays borders and edges to
match settings. DashStyle has been modified to return smart pointers
of textures that are loaded depending on the scale level. The cache
will make sure that we don't duplicate the textures and that they
get removed when not needed anymore. Also thanks to this the
SearchBarSpinner textures (and the other spinners as well) uses the
SVGs scaled at the proper size (I desgined a new SVG for the
magnifier, as we only had a PNG). (LP: #1283415) (LP: #1340394)
* Hud: scale to match current DPI settings for monitor. (LP: #1340477)
* PlacesOverlayVScrollBar and VScrollBarOverlayWindow: add support for
scaling. Add a new ScrollView class to create ScrollViews with an
OverlayScrollbar and with scaling support. Using them in dash Scopes and
Previews. (LP: #1340996)
* LockScreenShield: Add GrabScreen function and retry to make sure we really
get the grab. It might happen that the grab is not possible because the
PluginAdapter::IsScreenGrabbed request has still not being fully processed,
and thus nux is not able to grab the pointer/keyboard. By doing this we
instead try to grab the screen, and if this is not happening, we wait a
little until we don't get the ungrab event. In this way, if we eventually
get the grab, all will work as expected. Otherwise, we cancel the lock
request (very unlikely to happen). (LP: #1349128)
* PlacesOverlayVScrollBar: redirect the mouse wheel scroll events coming from
the thumb to the scrollview. This will make the scrollview to handle then and
perform the same scrolling action it would do otherwise. (LP: #1340992)
* SwitcherView, PanelService: correctly handle horizontal and vertical scroll
events (LP: #1342208) (LP: #1342731)
[ Eleni Maria Stea ]
* Previews: scale the dash preview contents to match current monitor
scaling. Improved also the scaling of search-bar, spinner, categories
and many other components. (LP: #1339629)
[ Stephen M. Webb ]
* Reduce the scope of the kill command when restarting Compiz.
(LP: #1324114)
-- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx> Tue, 26 Aug 2014 13:49:00 +0000
** Changed in: unity (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity
https://bugs.launchpad.net/bugs/1347735
Title:
Lockscreen capslock detection doesn't work well with remapped
capslocks
Status in Unity:
Fix Committed
Status in Unity 7.2 series:
In Progress
Status in “unity” package in Ubuntu:
Fix Released
Status in “unity” source package in Trusty:
Fix Released
Bug description:
[Impact]
Remapped keys to activate the caps-lock are not correctly detected by the unity lockscreen
[Test case]
1. Configure the keyboard so that "Both shifts together toggles CapsLock"
2. Lock the screen using Super+L or menus
3. Press both shifts together to turn the capslock on
4. The lockscreen input field should show a warning
5. Press the shifts again, and the warning should be hidden
[Regression potential]
None
-----------------
Version: 7.2.2+14.04.20140714-0ubuntu1 (trusty)
Some users like to remap the way the activate capslock. For example,
using gnome-tweak-tool it's possible to set the CapsLock key to behave
as an extra Ctrl, or an extra Alt (or several other extras) and then
set "Both shifts together toggle CapsLock".
This works perfectly well inside Unity, the hardware keyboard led
indicator shows up, etc. However, the lockscreen detector doesn't
correctly warn or not warn when this setup is used.
* If the lockscreen was activated with capslock on, then the double-shift makes capslock go away, but not the warning.
* If the lockscreen was activated with capslock off, then the double-shift makes capslock on, but no warning shows up.
I believe the problem is in this piece of code in unity-
shared/TextInput.cpp:
void TextInput::OnKeyUp(unsigned keysym,
unsigned long keycode,
unsigned long state)
{
if (!caps_lock_on && keysym == NUX_VK_CAPITAL)
caps_lock_on = true;
else if (caps_lock_on && keysym == NUX_VK_CAPITAL)
caps_lock_on = false;
}
This is checking for specific key, instead of the fact that CapsLock
was activated or not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1347735/+subscriptions