Bug 103395 - security/gnome-ssh-askpass interferes with gnome-screensaver
Summary: security/gnome-ssh-askpass interferes with gnome-screensaver
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alejandro Pulver
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-19 07:40 UTC by vova
Modified: 2007-09-29 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (2.40 KB, patch)
2006-09-19 07:40 UTC, vova
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description vova 2006-09-19 07:40:22 UTC

If screen-saver activated while gnome-ssh-askpass is active, after unlock I have non-functional pointer in X.
Actualy pointer moves but it is impossible to click anywhere. All clicks do not work (Left, Right, Middle, Wheel, with Shift/Alt/Meta)

I am not completely sure it interfere with gnome-screensaver or with Xserver screen-saver - both active.

I have fresn 7-CURRENT, with fresh prorts tree.

I have sliding focus (if it does matter).

Fix: I have no good fix, but turning off grabbing keyboard from gnome-ssh-askpass looks like help me:

/usr/ports/security/gnome-ssh-askpass# cvs diff files/patch-grab-keyboard 
How-To-Repeat: 

Intslall security/gnome-ssh-askpass
Setup to run ssh-add on startup with SSH_ASKPASS=gnome-ssh-askpass2
You should have generated key with passphrase in you .ssh directory.
(I've added it into session startup programs)

Enable gnome-screensaver.

Enable Xserver screensaver (just for sure), part of xorg.conf:
Section "ServerFlags"
        Option   "blank time"    "10"
        Option   "standby time"  "20"
        Option   "suspend time"  "30"
        Option   "off time"      "60"
EndSection

Login and wait until gnome screensaver locks screen.
Unlock screen, enter passphrase. 

Then try to click somewhere by mouse - it does not work.
Focus do not changed by mouse.
Any usual keyboard clicks - works.
Comment 1 Stefan Walter freebsd_committer freebsd_triage 2006-10-03 10:54:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to the GNOME guys, as security/gnome-ssh-askpass is unmaintained.
Comment 2 Jeremy Messenger freebsd_committer freebsd_triage 2006-10-03 19:36:15 UTC
Responsible Changed
From-To: gnome->freebsd-ports-bugs

ports@ = unmaintain 
gnome@ != unmaintain 

We will making our own decision if we want to take care of this PR. Redirect 
this PR back to freebsd-ports-bugs.
Comment 3 Alejandro Pulver freebsd_committer freebsd_triage 2007-09-29 21:24:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-09-29 21:39:51 UTC
alepulver    2007-09-29 20:39:43 UTC

  FreeBSD ports repository

  Added files:
    security/gnome-ssh-askpass/files patch-contrib_ssh-askpass2.c 
  Log:
  - Turn off keyboard grabbing to avoid mouse pointer lock after returning from
    the screensaver.
  
  PR:             ports/103395
  Submitted by:   Vladimir Grebenschikov <vova@fbsd.ru>
  
  Revision  Changes    Path
  1.1       +58 -0     ports/security/gnome-ssh-askpass/files/patch-contrib_ssh-askpass2.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Alejandro Pulver freebsd_committer freebsd_triage 2007-09-29 21:40:08 UTC
State Changed
From-To: open->closed

Committed. Thanks!