Re: [i3] ssh askpass window too small + "sticks around"

2015-11-05 Thread Dieter Plaetinck
ok, thanks a lot for your help! On Thu, 5 Nov 2015 10:33:31 -0500 Ingo Bürk wrote: > No, it's not i3. It's the root window. Which means there is no actual > keepass window. :) I'd try running a compositor and setting the > background to see what that does. Making sure your graphics driver is up

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-05 Thread Ingo Bürk
No, it's not i3. It's the root window. Which means there is no actual keepass window. :) I'd try running a compositor and setting the background to see what that does. Making sure your graphics driver is up to date also won't hurt. Ingo On 11/04/2015 11:15 PM, Dieter Plaetinck wrote: > with back

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-04 Thread Dieter Plaetinck
with background it looks like so (set via nitrogen) http://i.imgur.com/RX7syWq.png however it seems like if i set the background again after ssh-add finished, the background shows fine without the ghost window. not 100% sure yet on the conditions that trigger the issue. i can play with it a bit m

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-04 Thread Ingo Bürk
Hi Dieter, sorry, I completely forgot about the second issue. Can you check whether there actually IS a window? For example, try pgrep-ing for keepass and also try "xprop"-selecting that window on an empty workspace (where it's not covered by other windows). If there isn't actually a window, this

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Dieter Plaetinck
btw i have configured the askpass window to have a 0px border, so the other problem (the "ghosting") is now a little less annoying (looks like http://i.imgur.com/qgnOTaV.png now) though it 'd be nice if we could solve this one too. any ideas ? On Tue, 3 Nov 2015 20:57:45 -0500 Dieter Plaetinck

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Dieter Plaetinck
thanks Ingo, reported @ https://bugzilla.mindrot.org/show_bug.cgi?id=2491 btw I tried setting the window to 426x94 (cause those values appeared in other size hints) but that ended up being too low. I just estimated a height and 115 seems to look good. I wonder why it hinted at 94.. On Tue, 3 N

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Ingo Bürk
Hi, one more thing, to make life easier for yourself you can either locally revert the commit or use a for_window directive matching that popup and do something like for_window [class="(?i)keepass" …] resize set 500 300 Ingo On 11/03/2015 07:43 PM, Ingo Bürk wrote: > Thanks! Yeah, the pro

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Ingo Bürk
Thanks! Yeah, the problem is that askpass specifies size flags in WM_SIZE_HINTS, but doesn't set useful values (it just says 0x0). i3 then falls back to the floating minimum size, which by default is 75x50. You should file this as a bug against keepass. keepass should either not set these flags in

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Dieter Plaetinck
the i3 log, obtained via i3-dump-log as described on the debugging web page. http://logs.i3wm.org/logs/5652536396611584.bz2 FWIW this was a minimal i3 session, i quit all my apps, just had a termite terminal so i could invoke ssh-add and the i3-dump-log, and it also had a bar running, but nothing

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Ingo Bürk
Thanks. I sort of figured it'd be that commit. Can you please provide the files I described earlier? This will likely be a bug in askpass. See also the discussions in the end of https://github.com/i3/i3/issues/1970. Ingo On 11/03/2015 06:04 PM, Dieter Plaetinck wrote: > thanks Ingo, > due to i3'

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Dieter Plaetinck
thanks Ingo, due to i3's easy reloading and the fact that i could just run the ssh-add command in a terminal without restarting X, the bisect process was very easy and smooth. it found the commit. see below d1262f2b6ae713266b5a1e8cab368333bb332033 is the first bad commit commit d1262f2b6ae71326

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Ingo Bürk
Yeah, a bisect would be useful. You need to run make clean && make && sudo make install (to actually install the new binary -- unless you change your xinitrc to run the local file in your checkout instead). Restarting X isn't necessary, restarting i3 in-place would suffice. But since you have wrap

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Dieter Plaetinck
I can confirm the first problem is gone (the window has the correct size) with 4.10.4 However the ghosting problem still exists, though now it also has the correct size and a black background instead of grey like before. see http://i.imgur.com/2uF25R8.png still want me to do a bisect? for all ve

Re: [i3] ssh askpass window too small + "sticks around"

2015-11-03 Thread Ingo Bürk
Hi Dieter, can you do the following? 1) Downgrade to i3 4.10.4 and see if it fixes the problem. If so, please run a git bisect to figure out which commit broke it. If 4.10.4 has the same problem, try downgrading askpass or report a bug there. 2) Provide a complete i3 log file where you started it