Select & middle-mouse Paste Fails Sometimes

David C. Rankin
2009-06-10T06:17:54+00:00

Listmates,

	Probably 10-20% of the time, selecting text in say 'kwrite', then attempting 
to paste the text in say konqueror's google search window does *not* paste the 
text that was just selected. Alt+tab back to kwrite and confirm that the text 
was/is selected; deselect and reselect and then paste again in konqueror and 
this time it works. What gives?

	More importantly what to check? If this had happened only once, I'd just 
chock it up to gremlins somewhere and go on. But today it has happened more 
times than it has happened in the last 3 years of kde3. Is there some buffer 
or something I can monitor/dump that could give a bit more information about 
where the problem might be?

	This is running on openSuSE's kde43beta1; Version 4.2.88 (KDE 4.2.88 (KDE 4.3 
>= 20090527)) "release 127"

www.rankinlawfirm.com
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Anne Wilson on 2009-06-10T06:52:34+00:00
> Listmates,
>
> 	Probably 10-20% of the time, selecting text in say 'kwrite', then
> attempting to paste the text in say konqueror's google search window does
> *not* paste the text that was just selected. Alt+tab back to kwrite and
> confirm that the text was/is selected; deselect and reselect and then pas=
te
> again in konqueror and this time it works. What gives?
>
> 	More importantly what to check? If this had happened only once, I'd just
> chock it up to gremlins somewhere and go on. But today it has happened mo=
re
> times than it has happened in the last 3 years of kde3. Is there some
> buffer or something I can monitor/dump that could give a bit more
> information about where the problem might be?
>
> 	This is running on openSuSE's kde43beta1; Version 4.2.88 (KDE 4.2.88 (KDE
> 4.3
>
> >=3D 20090527)) "release 127"

I see the same problem in Mandriva 2009.1, so it's probably not vendor=20
specific.  Also, highlighting sometimes doesn't copy to clipboard.

Anne
=2D-=20
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


Re: Select & middle-mouse Paste Fails Sometimes by Robin Atwood on 2009-06-10T08:58:33+00:00
On Wednesday 10 June 2009, Anne Wilson wrote:
> On Wednesday 10 June 2009 07:15:59 David C. Rankin wrote:
> > Listmates,
> >
> > 	Probably 10-20% of the time, selecting text in say 'kwrite', then
> > attempting to paste the text in say konqueror's google search window does
> > *not* paste the text that was just selected. Alt+tab back to kwrite and
> > confirm that the text was/is selected; deselect and reselect and then
> > paste again in konqueror and this time it works. What gives?
> >
> > 	More importantly what to check? If this had happened only once, I'd just
> > chock it up to gremlins somewhere and go on. But today it has happened
> > more times than it has happened in the last 3 years of kde3. Is there
> > some buffer or something I can monitor/dump that could give a bit more
> > information about where the problem might be?
> >
> > 	This is running on openSuSE's kde43beta1; Version 4.2.88 (KDE 4.2.88
> > (KDE 4.3
> >
> > >= 20090527)) "release 127"
>
> I see the same problem in Mandriva 2009.1, so it's probably not vendor
> specific.  Also, highlighting sometimes doesn't copy to clipboard.

Curious, I was going to investigate this thoroughly today and post my results. 
It never happened with KDE3 but does about 50% of the time with KDE 4.2. I 
have klipper running but it makes no difference if "synchronise clipboard and 
selection" is enabled or not. I get get the same problem selecting text in 
kwrite, konqueror and double-clicking on konsole. I am running a current 
Gentoo system with KDE 4.2.4, xorg-x11 7.4 and xserver 1.5.3.

HTH
-Robin
"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Oswald Buddenhagen on 2009-06-10T10:00:02+00:00
On Wed, Jun 10, 2009 at 01:15:59AM -0500, David C. Rankin wrote:
> Probably 10-20% of the time, selecting text in say 'kwrite', then
> attempting to paste the text in say konqueror's google search window
> does *not* paste the text that was just selected. Alt+tab back to
> kwrite and confirm that the text was/is selected; deselect and
> reselect and then paste again in konqueror and this time it works.
> What gives?
> 
sounds like a klipper issue. in fact, i found klipper so broken that i
just said "f*** it" and disabled it alltogether ...
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Robin Atwood on 2009-06-10T10:19:31+00:00
On Wednesday 10 June 2009, Oswald Buddenhagen wrote:
> On Wed, Jun 10, 2009 at 01:15:59AM -0500, David C. Rankin wrote:
> > Probably 10-20% of the time, selecting text in say 'kwrite', then
> > attempting to paste the text in say konqueror's google search window
> > does *not* paste the text that was just selected. Alt+tab back to
> > kwrite and confirm that the text was/is selected; deselect and
> > reselect and then paste again in konqueror and this time it works.
> > What gives?
>
> sounds like a klipper issue. in fact, i found klipper so broken that i
> just said "f*** it" and disabled it alltogether ...

I don't think it's klipper, I just disabled it and got the same problem 
selecting and pasting in kwrite.

-Robin
"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Dmitry Suzdalev on 2009-06-10T10:24:08+00:00
On Wednesday 10 June 2009 13:59:15 Oswald Buddenhagen wrote:
> sounds like a klipper issue. in fact, i found klipper so broken that i
> just said "f*** it" and disabled it alltogether ...
FYI I'm experimenting with rewriting klipper (maybe turn it into a plasmoid) - 
I'm leaving the basic clipboard polling functionality as it is while 
restructuring other parts.

Well, this is an experiment, no ETA's for now... :)

Cheers,
Dmitry.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Michael Jansen on 2009-06-10T18:33:51+00:00
Zitat von Oswald Buddenhagen <ossi@kde.org>:

> On Wed, Jun 10, 2009 at 01:15:59AM -0500, David C. Rankin wrote:
>> Probably 10-20% of the time, selecting text in say 'kwrite', then
>> attempting to paste the text in say konqueror's google search window
>> does *not* paste the text that was just selected. Alt+tab back to
>> kwrite and confirm that the text was/is selected; deselect and
>> reselect and then paste again in konqueror and this time it works.
>> What gives?
>>
> sounds like a klipper issue. in fact, i found klipper so broken that i
> just said "f*** it" and disabled it alltogether ...


Check:

https://bugs.kde.org/show-bug.cgi?id=121057

http://bugs.kde.org/show-bug.cgi?id=189761

And see if it is your problem.

Mike

>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to  
>>> unsubscribe <<
>




Re: Select & middle-mouse Paste Fails Sometimes by Anne Wilson on 2009-06-10T20:23:18+00:00
> Zitat von Oswald Buddenhagen <ossi@kde.org>:
> > On Wed, Jun 10, 2009 at 01:15:59AM -0500, David C. Rankin wrote:
> >> Probably 10-20% of the time, selecting text in say 'kwrite', then
> >> attempting to paste the text in say konqueror's google search window
> >> does *not* paste the text that was just selected. Alt+tab back to
> >> kwrite and confirm that the text was/is selected; deselect and
> >> reselect and then paste again in konqueror and this time it works.
> >> What gives?
> >
> > sounds like a klipper issue. in fact, i found klipper so broken that i
> > just said "f*** it" and disabled it alltogether ...
>
> Check:
>
> https://bugs.kde.org/show-bug.cgi?id=3D121057
>
> http://bugs.kde.org/show-bug.cgi?id=3D189761
>
> And see if it is your problem.
>
Both of those imply that mouse gestures are implicated, and I do not use mo=
use=20
gestures.  For me, the middle-click paste does work, but highlighted text i=
s=20
only *sometimes* copied to the clipboard.

Anne
=2D-=20
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


Re: Select & middle-mouse Paste Fails Sometimes by Michael Jansen on 2009-06-10T20:50:46+00:00
On Wednesday 10 June 2009 22:21:20 Anne Wilson wrote:
> > Check:
> >
> > https://bugs.kde.org/show-bug.cgi?id=121057
> >
> > http://bugs.kde.org/show-bug.cgi?id=189761
> >
> > And see if it is your problem.
>
> Both of those imply that mouse gestures are implicated, and I do not use
> mouse gestures.  For me, the middle-click paste does work, but highlighted
> text is only *sometimes* copied to the clipboard.

Not implicated. Activated. "kcmshell4 khotkeys" -> "Settings" -> "Gestures"? 
enabled or not?

Mike
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Matthew Woehlke on 2009-06-10T21:21:39+00:00
David C. Rankin wrote:
> 	Probably 10-20% of the time, selecting text in say 'kwrite', then attempting 
> to paste the text in say konqueror's google search window does *not* paste the 
> text that was just selected. Alt+tab back to kwrite and confirm that the text 
> was/is selected; deselect and reselect and then paste again in konqueror and 
> this time it works. What gives?

Does it work when you select with the mouse? Does it /not/ work when you 
select with the keyboard? I think this may be what you are seeing; it 
seems keyboard selection does not set the clipboard selection.

Although... this seems to generally be how Qt works (but not gtk).

So while I'm not sure this is actually a bug, I'd still say you can go 
ahead and file it as one against kate(part) if you want, and haven't 
done so already. (Especially as I believe katepart needs to change even 
if Qt were to change.)

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Anne Wilson on 2009-06-11T06:40:53+00:00
> On Wednesday 10 June 2009 22:21:20 Anne Wilson wrote:
> > > Check:
> > >
> > > https://bugs.kde.org/show-bug.cgi?id=3D121057
> > >
> > > http://bugs.kde.org/show-bug.cgi?id=3D189761
> > >
> > > And see if it is your problem.
> >
> > Both of those imply that mouse gestures are implicated, and I do not use
> > mouse gestures.  For me, the middle-click paste does work, but
> > highlighted text is only *sometimes* copied to the clipboard.
>
> Not implicated. Activated. "kcmshell4 khotkeys" -> "Settings" ->
> "Gestures"? enabled or not?
>
Ah - 'Back' was showing activated. I disabled it, and either none of the=20
others were or they were all disabled by the one action.  Does changing thi=
s=20
require a restart of anything?  I hhighlighted the 'kcmshell4 khotkeys' in =
the=20
terminal, and it didn't appear on the clipboard.

Anne
=2D-=20
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


Re: Select & middle-mouse Paste Fails Sometimes by Robin Atwood on 2009-06-11T07:48:06+00:00
On Thursday 11 June 2009, Matthew Woehlke wrote:
> Does it work when you select with the mouse? Does it /not/ work when you
> select with the keyboard? I think this may be what you are seeing; it
> seems keyboard selection does not set the clipboard selection.

It doesn't work about half the time with both the mouse and the keyboard, as 
stated in previous posts.

> Although... this seems to generally be how Qt works (but not gtk).

Do you mean Qt4, there was no problem with Qt3/KDE3. 

> So while I'm not sure this is actually a bug, I'd still say you can go
> ahead and file it as one against kate(part) if you want, and haven't
> done so already. (Especially as I believe katepart needs to change even
> if Qt were to change.)

It's not just kate, the problem occurs selecting text on konsole and konqueror 
and, I guess, any other application. 

HTH
-Robin
"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Matthew Woehlke on 2009-06-11T15:26:17+00:00
Robin Atwood wrote:
> On Thursday 11 June 2009, Matthew Woehlke wrote:
>> Does it work when you select with the mouse? Does it /not/ work when you
>> select with the keyboard? I think this may be what you are seeing; it
>> seems keyboard selection does not set the clipboard selection.
> 
> It doesn't work about half the time with both the mouse and the keyboard, as 
> stated in previous posts.

I didn't see where you differentiated between select-with-mouse and 
select-with-keyboard.

>> Although... this seems to generally be how Qt works (but not gtk).
> 
> Do you mean Qt4, there was no problem with Qt3/KDE3. 

Yes. I don't think I /have/ Qt3 on this box ;-). I have tested kjots, 
kopete, konqueror, krunner, and (Qt) designer; select-by-keyboard does 
not seem to set the selection in any Qt4 application.

>> So while I'm not sure this is actually a bug, I'd still say you can go
>> ahead and file it as one against kate(part) if you want, and haven't
>> done so already. (Especially as I believe katepart needs to change even
>> if Qt were to change.)
> 
> It's not just kate, the problem occurs selecting text on konsole and konqueror 
> and, I guess, any other application. 

Konsole I've noticed to be "finicky", not so much kate (except that 
select-by-keyboard doesn't work, but I believe that doesn't work ever, 
and is "by design", at least as far as it doesn't work because it is not 
coded *to* work). I assume konq is using standard widgets, however, 
which implies a possible Qt bug.

Are you /sure/ it isn't that it only works when you select with the 
mouse? :-)

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Robin Atwood on 2009-06-11T15:35:41+00:00
On Thursday 11 June 2009, Matthew Woehlke wrote:
> Robin Atwood wrote:
> > On Thursday 11 June 2009, Matthew Woehlke wrote:
> >> Does it work when you select with the mouse? Does it /not/ work when you
> >> select with the keyboard? I think this may be what you are seeing; it
> >> seems keyboard selection does not set the clipboard selection.
> >
> > It doesn't work about half the time with both the mouse and the keyboard,
> > as stated in previous posts.
>
> I didn't see where you differentiated between select-with-mouse and
> select-with-keyboard.
>
> >> Although... this seems to generally be how Qt works (but not gtk).
> >
> > Do you mean Qt4, there was no problem with Qt3/KDE3.
>
> Yes. I don't think I /have/ Qt3 on this box ;-). I have tested kjots,
> kopete, konqueror, krunner, and (Qt) designer; select-by-keyboard does
> not seem to set the selection in any Qt4 application.
>
> >> So while I'm not sure this is actually a bug, I'd still say you can go
> >> ahead and file it as one against kate(part) if you want, and haven't
> >> done so already. (Especially as I believe katepart needs to change even
> >> if Qt were to change.)
> >
> > It's not just kate, the problem occurs selecting text on konsole and
> > konqueror and, I guess, any other application.
>
> Konsole I've noticed to be "finicky", not so much kate (except that
> select-by-keyboard doesn't work, but I believe that doesn't work ever,
> and is "by design", at least as far as it doesn't work because it is not
> coded *to* work). I assume konq is using standard widgets, however,
> which implies a possible Qt bug.
>
> Are you /sure/ it isn't that it only works when you select with the
> mouse? :-)

No, I got it lots of times when selecting with the cursor in kate. Also, I 
often copy the contents of the location bar in konqueror by: RMB/Select All, 
RMB Copy. Half the time you must copy twice. Since I guess that widget is an 
edit box, I guess it's pretty pervasive. :(

-Robin
"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
         from "Mandalay" by Rudyard Kipling
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Anne Wilson on 2009-06-11T15:57:51+00:00
> Half the time you must copy twice

I've noticed that too.  If I check the clipboard and don't find the selecti=
on=20
there, I do it again, and it works.  I've seen this quite a number of times=
=2E =20
(I mostly use mouse-select.)

Anne
=2D-=20
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase


Re: Select & middle-mouse Paste Fails Sometimes by Sven Burmeister on 2009-06-14T11:31:55+00:00
Am Mittwoch, 10. Juni 2009 08:50:31 schrieb Anne Wilson:
> > 	Probably 10-20% of the time, selecting text in say 'kwrite', then
> > attempting to paste the text in say konqueror's google search window does
> > *not* paste the text that was just selected. Alt+tab back to kwrite and
> > confirm that the text was/is selected; deselect and reselect and then
> > paste again in konqueror and this time it works. What gives?

> I see the same problem in Mandriva 2009.1, so it's probably not vendor
> specific.  Also, highlighting sometimes doesn't copy to clipboard.

Maybe related, if one moves the cursor a little bit too far to the left or 
right, i.e. a millimetre over the last or first letter in a line, I get empty 
lines copied. If one has a look at klipper it shows an empty line as the last 
entry and the actual selection as the one before that. Thus pasting with 
middle-click pastes that empty line.

Sven
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: Select & middle-mouse Paste Fails Sometimes by Anne Wilson on 2009-06-14T15:31:38+00:00
> Am Mittwoch, 10. Juni 2009 08:50:31 schrieb Anne Wilson:
> > > 	Probably 10-20% of the time, selecting text in say 'kwrite', then
> > > attempting to paste the text in say konqueror's google search window
> > > does *not* paste the text that was just selected. Alt+tab back to
> > > kwrite and confirm that the text was/is selected; deselect and resele=
ct
> > > and then paste again in konqueror and this time it works. What gives?
> >
> > I see the same problem in Mandriva 2009.1, so it's probably not vendor
> > specific.  Also, highlighting sometimes doesn't copy to clipboard.
>
> Maybe related, if one moves the cursor a little bit too far to the left or
> right, i.e. a millimetre over the last or first letter in a line, I get
> empty lines copied. If one has a look at klipper it shows an empty line as
> the last entry and the actual selection as the one before that. Thus
> pasting with middle-click pastes that empty line.
>
Yes, I've seen that too, but what I'm reporting at this moment is the compl=
ete=20
absence of a copy line on klipper, not one displaces by an empty one, annoy=
ing=20
though that is. :-)

Anne
=2D-=20
New to KDE4? - get help from http://userbase.kde.org
Just found a cool new feature?  Add it to UserBase

Loading


$ This page is proudly powered by www.pubbs.net, you can see more at kde archive | Partners: Global Manufacturers