[Dx-packages] [Bug 1322769] Re: 14.04 LTS AMD64 Password/Keyboard Lockup after Unity Lock Timeout with VirtualBox VMs Running

2014-07-29 Thread David Overcash
This looks similar to this bug:
https://bugs.launchpad.net/unity/+bug/1305586

However - I've found that another issue is that whatever application has
held on to the cursor, you will end up typing your password directly
into.  Google Chrome and Chromium seem to be the two most popular
culprits.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1322769

Title:
  14.04 LTS AMD64 Password/Keyboard Lockup after Unity Lock Timeout with
  VirtualBox VMs Running

Status in Unity:
  In Progress
Status in Unity 7.2 series:
  In Progress
Status in “unity” package in Ubuntu:
  In Progress

Bug description:
  I have replicated this bug on two different laptops, one at work
  running mulitple monitors, one at home running a single monitor.

  Symptom: When the Unity System Settings Lock Screen Settings activate,
  and I notice the screen has gone blank and locked, I re-activate the
  keyboard (usually left CRTL) and the 14.04 LTS Login Screen appears.

  In all cases the keyboard is locked out and non-responsive, I can
  click on the password box for my account and anything I type no longer
  appears. I have to select Switch Account option with the mouse to
  get a new login screen for my account and I can log in.

  In some cases both the keyboard and the mouse input is locked out and
  non-responsive. I can not select Switch Account and must power off
  the laptop which of course is dangerous for the file systems of both
  Windows VMs that are running and the host/14.04 LTS file system.  I
  have already corrupted the Windows VM file systems and had to repair
  while testing this bug for repeatability.

  Both laptops run the AMD64 version of Ubuntu 14.04 LTS.
  Both have built in Intel Integrated Graphics, one laptop with the older 
Ironlake, one with the newer ivy bridge.

  Both are running Oracle VirtualBox but different version:

  1. Home is running the Ubuntu 14.04 Repository version of Oracle VirtualBox 
(Currently 4.3.10_Ubuntu r93012)
  2. Work is running the Oracle downloadable AMD64 version of Oracle VirtualBox 
Currently 4.3.12
  3. Both have the respective Oracle Virtual Box Extensions installed for 
4.3.10 and 4.3.12
  3. Both are running Windows 7 64 VMs

  Both 14.04 LTS have the following System Settings for Lock Screen:
  Brightness slider - All the way left
  Dim screen to save power - Checked
  Lock - Switch to ON position
  Lock Screen after: 5 minutes
  Require my password when weking form suspend - Checked

  
  I have tested this with both a VM running (no other running applications were 
tested) and with no apps running (fresh boot and login into 14.04 LTS unity 
desktops).

  1. On fresh boot with no apps running the lock screen activates (after
  5 min of no activity) and when I re-activate the laptops (usually
  pressing left CTRL on keyboard) I get the login screen and can enter
  my password successfully and the Unity desktop is presented.

  2. On fresh boot with a Windows 7 VM running the lock screen activates
  (after 5 min of no activity) and when I re-activate the laptops
  (usually pressing the left CTRL on the keyboard) I get the login
  screen and the keyboard is locked and non-responsive and I can not log
  into my account.

  Variations on 2. I can not enter password but I can use CTRL-ALT-F1, etc. to 
switch to TTY and gain access to system.
  Variations on 2. I can not enter password and can not use CTRL-ALT-F1, etc. 
the entire keyboard appears locked out, but I can use mouse and select Switch 
Account to force a new login screen to appear and the keyboard now works to 
enter password.
  Variations on 2. I can not enter password and can not use CTRL-ALT-F1, etc. 
and I can not use the mouse, the entire input interfaces appear locked out and 
I have to power off the laptops to restart and be able to log in to Unity again.

  If I turn Lock: Off but leave Turn Screen off when inactive for 5
  minutes set. If I have a VM running or no apps running, after 5
  minutes the screen dims. I re-activate the system by pressing a key on
  the keyboard (usually the left CTRL key) and the Unity desktop re-
  appears.

  This bug only seems to occur when the Lock/Require Password when
  waking from suspend is active.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1322769/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1345505] Re: lock screen leaks keystrokes to window behind greeter

2014-07-29 Thread David Overcash
This seems to happen most frequently with Google Chrome and Chromium -
or at least, they're two easy culprits to identify.  :)

Seems related to the following:
https://bugs.launchpad.net/unity/+bug/1305586

I'm not sure if the fix in that bug is what caused this or if another
issue arose elsewhere.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1345505

Title:
  lock screen leaks keystrokes to window behind greeter

Status in Unity:
  New
Status in “unity” package in Ubuntu:
  Confirmed

Bug description:
  When my machine comes out of suspend, I am shown the lightdm greeter.
  However, occasionally I am unable to enter my password since the
  password box is not given focus. Clicking with the mouse in the
  password box also doesn't help.

  I've found that clicking the settings cog (top right) twice allows me
  to regain control of the focus and enter my password.

  Aside from the inability to enter my password in the password box, it
  seems that simply typing my password (or in fact any text) results in
  those keystrokes being passed to the full-screen window *behind* the
  greeter. This should not be possible and is a security issue: imagine
  if my full-screen console was connected to a remote shared session, or
  was running an irc client, etc.).

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: lightdm 1.11.4-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-4.9-generic 3.16.0-rc5
  Uname: Linux 3.16.0-4-generic x86_64
  ApportVersion: 2.14.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun Jul 20 09:08:47 2014
  InstallationDate: Installed on 2014-04-11 (99 days ago)
  InstallationMedia: Ubuntu 14.04 LTS Trusty Tahr - Daily amd64 (20140409)
  SourcePackage: lightdm
  UpgradeStatus: Upgraded to utopic on 2014-05-08 (72 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1345505/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1305586] Re: Lock screen is unusable when some windows have a keyboard/mouse grab

2014-07-28 Thread David Overcash
I'm still seeing this issue when Google Chrome is the last open ( and
focused ) application upon suspend.  When I typed my password in it
didn't work - so I did the switch account hack and logged in - and
found my password sitting in the Chrome address bar.

I've installed the latest proposed updates and have the following compiz 
version:
$ apt-cache policy compiz
compiz:
  Installed: 1:0.9.11.2+14.04.20140714-0ubuntu1

Let me know if I'm missing anything.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1305586

Title:
  Lock screen is unusable when some windows have a keyboard/mouse grab

Status in Compiz:
  Fix Committed
Status in Compiz 0.9.11 series:
  Fix Released
Status in Unity:
  Fix Released
Status in Unity 7.2 series:
  Fix Released
Status in “compiz” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “compiz” source package in Trusty:
  Fix Released
Status in “unity” source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  Some windows will grab the keyboard/mouse and when the lockscreen kicks in, 
this window will still have the grab and thusly, you can't enter your password 
in the lockscreen.

  [Test case]
  This will work only in the case that your lockscreen is set (from unity 
control center, lock pane) to lock immediately (when screen turns off).

  1. Open a window that will hold the grab, such as the ssh password dialog or 
a virtual
 machine (such as virtualbox in fullscreen).
  2. Wait for the lock screen to activate [1].
  3. The screen won't be locked, since it's not possible to steal drag to 
another window.

  [Regression potential]
  For the same reason of lp:49579, we can't lock the screen (yet) if something 
takes the grab in X, or we won't able to get input back. This is not a 
regression because it has never been possible in Ubuntu before, while when we 
tried that, it caused this bug.

  A possible source of regression might be that we now try to
  grab/ungrab the screen (the only X reliable way for grab checking),
  when showing the dash/hud or the lockscreen itself, and this might
  slow things down a little, but from measurements done this slow down
  is generally about 2ms, so nothing to worry about.

  
  * Compiz Debdiff is found at 
https://launchpadlibrarian.net/178439518/compiz-trusty-sru-2.debdiff *

  [1] You can use this to reduce the locking delay:
gsettings set org.gnome.desktop.session idle-delay 5
  and resetting it with:
gsettings reset org.gnome.desktop.session idle-delay

  ---

  Original Description:

  My screen just timed out and locked when a password prompt which had a
  grab was displaying.

  I couldn't type my password or interact with the indicators.

  gnome-screensaver just refuses to lock in this situation, perhaps
  unity could do the same unless it's possible to remove and readd the
  grabs yourself, but I don't think XLib lets you do that (you can only
  remove your own grabs AFAIK).

  TEMPORARY WORKAROUND TO LOGIN AGAIN:
  Click on the guest session
  Once the guest session is started log out
  This takes you back to the lightdm session screen you can then login to your 
user session and it be in the same state

  ProblemType: BugDistroRelease: Ubuntu 14.04
  Package: unity 7.2.0+14.04.20140409-0ubuntu1 [origin: unknown]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CrashDB: unity
  CurrentDesktop: Unity
  Date: Thu Apr 10 09:39:45 2014
  InstallationDate: Installed on 2012-10-07 (549 days ago)
  InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Beta amd64 
(20121007)SourcePackage: unity
  UpgradeStatus: Upgraded to trusty on 2013-05-07 (338 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1305586/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1305586] Re: Lock screen is unusable when some windows have a keyboard/mouse grab

2014-07-28 Thread David Overcash
This also happens in Chromium.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1305586

Title:
  Lock screen is unusable when some windows have a keyboard/mouse grab

Status in Compiz:
  Fix Committed
Status in Compiz 0.9.11 series:
  Fix Released
Status in Unity:
  Fix Released
Status in Unity 7.2 series:
  Fix Released
Status in “compiz” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “compiz” source package in Trusty:
  Fix Released
Status in “unity” source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  Some windows will grab the keyboard/mouse and when the lockscreen kicks in, 
this window will still have the grab and thusly, you can't enter your password 
in the lockscreen.

  [Test case]
  This will work only in the case that your lockscreen is set (from unity 
control center, lock pane) to lock immediately (when screen turns off).

  1. Open a window that will hold the grab, such as the ssh password dialog or 
a virtual
 machine (such as virtualbox in fullscreen).
  2. Wait for the lock screen to activate [1].
  3. The screen won't be locked, since it's not possible to steal drag to 
another window.

  [Regression potential]
  For the same reason of lp:49579, we can't lock the screen (yet) if something 
takes the grab in X, or we won't able to get input back. This is not a 
regression because it has never been possible in Ubuntu before, while when we 
tried that, it caused this bug.

  A possible source of regression might be that we now try to
  grab/ungrab the screen (the only X reliable way for grab checking),
  when showing the dash/hud or the lockscreen itself, and this might
  slow things down a little, but from measurements done this slow down
  is generally about 2ms, so nothing to worry about.

  
  * Compiz Debdiff is found at 
https://launchpadlibrarian.net/178439518/compiz-trusty-sru-2.debdiff *

  [1] You can use this to reduce the locking delay:
gsettings set org.gnome.desktop.session idle-delay 5
  and resetting it with:
gsettings reset org.gnome.desktop.session idle-delay

  ---

  Original Description:

  My screen just timed out and locked when a password prompt which had a
  grab was displaying.

  I couldn't type my password or interact with the indicators.

  gnome-screensaver just refuses to lock in this situation, perhaps
  unity could do the same unless it's possible to remove and readd the
  grabs yourself, but I don't think XLib lets you do that (you can only
  remove your own grabs AFAIK).

  TEMPORARY WORKAROUND TO LOGIN AGAIN:
  Click on the guest session
  Once the guest session is started log out
  This takes you back to the lightdm session screen you can then login to your 
user session and it be in the same state

  ProblemType: BugDistroRelease: Ubuntu 14.04
  Package: unity 7.2.0+14.04.20140409-0ubuntu1 [origin: unknown]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CrashDB: unity
  CurrentDesktop: Unity
  Date: Thu Apr 10 09:39:45 2014
  InstallationDate: Installed on 2012-10-07 (549 days ago)
  InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Beta amd64 
(20121007)SourcePackage: unity
  UpgradeStatus: Upgraded to trusty on 2013-05-07 (338 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1305586/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp


[Dx-packages] [Bug 1305586] Re: Lock screen is unusable when some windows have a keyboard/mouse grab

2014-07-28 Thread David Overcash
And my Unity version:

$ apt-cache policy unity
unity:
  Installed: 7.2.2+14.04.20140714-0ubuntu1

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1305586

Title:
  Lock screen is unusable when some windows have a keyboard/mouse grab

Status in Compiz:
  Fix Committed
Status in Compiz 0.9.11 series:
  Fix Released
Status in Unity:
  Fix Released
Status in Unity 7.2 series:
  Fix Released
Status in “compiz” package in Ubuntu:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released
Status in “compiz” source package in Trusty:
  Fix Released
Status in “unity” source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  Some windows will grab the keyboard/mouse and when the lockscreen kicks in, 
this window will still have the grab and thusly, you can't enter your password 
in the lockscreen.

  [Test case]
  This will work only in the case that your lockscreen is set (from unity 
control center, lock pane) to lock immediately (when screen turns off).

  1. Open a window that will hold the grab, such as the ssh password dialog or 
a virtual
 machine (such as virtualbox in fullscreen).
  2. Wait for the lock screen to activate [1].
  3. The screen won't be locked, since it's not possible to steal drag to 
another window.

  [Regression potential]
  For the same reason of lp:49579, we can't lock the screen (yet) if something 
takes the grab in X, or we won't able to get input back. This is not a 
regression because it has never been possible in Ubuntu before, while when we 
tried that, it caused this bug.

  A possible source of regression might be that we now try to
  grab/ungrab the screen (the only X reliable way for grab checking),
  when showing the dash/hud or the lockscreen itself, and this might
  slow things down a little, but from measurements done this slow down
  is generally about 2ms, so nothing to worry about.

  
  * Compiz Debdiff is found at 
https://launchpadlibrarian.net/178439518/compiz-trusty-sru-2.debdiff *

  [1] You can use this to reduce the locking delay:
gsettings set org.gnome.desktop.session idle-delay 5
  and resetting it with:
gsettings reset org.gnome.desktop.session idle-delay

  ---

  Original Description:

  My screen just timed out and locked when a password prompt which had a
  grab was displaying.

  I couldn't type my password or interact with the indicators.

  gnome-screensaver just refuses to lock in this situation, perhaps
  unity could do the same unless it's possible to remove and readd the
  grabs yourself, but I don't think XLib lets you do that (you can only
  remove your own grabs AFAIK).

  TEMPORARY WORKAROUND TO LOGIN AGAIN:
  Click on the guest session
  Once the guest session is started log out
  This takes you back to the lightdm session screen you can then login to your 
user session and it be in the same state

  ProblemType: BugDistroRelease: Ubuntu 14.04
  Package: unity 7.2.0+14.04.20140409-0ubuntu1 [origin: unknown]
  ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
  Uname: Linux 3.13.0-23-generic x86_64
  ApportVersion: 2.14.1-0ubuntu1
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CrashDB: unity
  CurrentDesktop: Unity
  Date: Thu Apr 10 09:39:45 2014
  InstallationDate: Installed on 2012-10-07 (549 days ago)
  InstallationMedia: Ubuntu 12.10 Quantal Quetzal - Beta amd64 
(20121007)SourcePackage: unity
  UpgradeStatus: Upgraded to trusty on 2013-05-07 (338 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1305586/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp