Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTRL+C stealing #14

Open
pztrn opened this issue Dec 23, 2012 · 6 comments
Open

CTRL+C stealing #14

pztrn opened this issue Dec 23, 2012 · 6 comments

Comments

@pztrn
Copy link

pztrn commented Dec 23, 2012

Buddy list steal CTRL+C combination, instead of placing selected text in clipboard a "Join chat" dialog popups.

@dm0-
Copy link
Owner

dm0- commented Feb 26, 2013

I have been unable to reproduce this, including on Pidgin 2.10.7. I have tried on Fedora (GNOME Shell) and Windows 7. It works for me when selecting text both in the input field and in the chat log. (I'm not sure where else you might be selecting text.)

On what platform are you seeing this behavior?

Are you using custom GTK bindings?

Do you see this behavior when all other plugins are disabled?

@pztrn
Copy link
Author

pztrn commented Feb 27, 2013

I am using Arch Linux, I can reporoduce this with all plugins disabled. Looks like the step is to launch pidgin, close all tabs, unfocus, focus, open a tab - and there will be a "Join chat" dialog on CTRL+C (with selected text or not). Just reproduce it 2 times.

@dm0-
Copy link
Owner

dm0- commented Feb 27, 2013

Okay, thanks for the explanation. With your steps, I was able to reproduce this two or three times on Arch, but still failed to reproduce it a few dozen times. Unless I was doing something subtly different each time, this leads me to believe there is a race condition in the GTK event handling (probably from the band-aid 319a946).

Let me know if you are able to reproduce the issue consistently, otherwise I will try to figure out new ways to handle Pidgin's focus events.

For the record, the following is how I created my Arch environment, in case this turns out to have some influence on reproducing the problem. The ISO on their download page was booted with KVM using the live x86_64 option. I ran these commands to install everything.

pacman --noconfirm -Sy pidgin xf86-video-vesa xorg-server xorg-twm xorg-xinit xterm
pacman --noconfirm -Scc
pacman --noconfirm -S autoconf automake git libtool make pkg-config
pacman --noconfirm -Scc
exec startx

Then, from an xterm:

git clone https://github.com/dm0-/window_merge.git
cd window_merge
mkdir m4
autoreconf -fi
./configure
make install plugindir=$(pkg-config --variable=plugindir pidgin)
pidgin

@pztrn
Copy link
Author

pztrn commented Feb 27, 2013

This issue doesn't depend on videodriver (intel on my laptop and nvidia on desktop, both have this issue). Right now I've tested following (and able to reproduce):

  • Open Pidgin with plugin enabled. Some tabs opened, like autojoined mucs.
  • Close ALL tabs.
  • Open any tab (with contact or chat).
  • Switch to another program for at least 20-30 seconds (I tried with firefox and skype).
  • Go back and try to CTRL+C. You will get "Join chat" dialog.

Actually, this is also useful on #15.

@pztrn
Copy link
Author

pztrn commented May 25, 2013

Any progress on that?

@pztrn
Copy link
Author

pztrn commented May 25, 2013

My thoughts: after resuming to pidgin roster pane intercepts focus, despite on cursor blinking in input field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants