Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
Clipboard contents disappear
Posted by: Delbor
Date: December 15, 2003 08:36AM

Hi,

starting with K-Meleon 0.8 I experience the following:

If I copy some text to the clipboard and don't paste it before KM is closed, the clipboard content is lost.

Happens with 0.8.1, too. I have the layers plugin disabled, as well as the rebar plugin.

Delbor

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: andya
Date: December 15, 2003 10:19AM

I have both the layers and rebar plugin enabled. I had some text in the buffer which I copied from a message here I was typing earlier. I closed KM, and open up a text editor and it pasted.

Does that happen if you enable the layers and/or rebar plugin? Is that happening for you 100% of the time? I'm using KM 0.8.1 as well, under win98 SE.

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Delbor
Date: December 15, 2003 11:32AM

Let me be more precise.

First thing, the phenomenon occurs whether the layers and/or rebar plugin is loaded or not.

Description:

- start up KM
- open some website
- mark and copy some text

As long as KM stays opened, I can paste this text into other applications.

If I close KM before pasting, the clipboard content is lost (reproducable all the time).

I have been noticing this since version 0.8, I run Windows 2000.

Delbor

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: ra
Date: December 15, 2003 11:33AM

Does it happen if you disable the macros plugin?

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: andya
Date: December 15, 2003 12:45PM

Hey, I can support you on that. I just had a hunch and tried something differently this time, and it reproduced.

I copied the text of your message, closed km, but again, ctrl-v just laughed at me.

I mentioned before that it worked, but that was when I copied what I was writing at the time into a message. I copied what was in this textarea, that's probably the difference. Type some stuff into a message, but don't post it, just type a few characters, copy it, then close km and try to paste. If it works for you that way, the developers can see that the same thing is happening with the same problem. If it won't paste for you if you copy from a textarea, then there's something else going on. Sorry I couldn't help.

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Delbor
Date: December 15, 2003 12:54PM

Addendum:

disabling the macro plugin also doesn't help, the clipboard content still is lost after I close KM.

Delbor

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: ra
Date: December 15, 2003 01:09PM

andya,
good one, report it to the bts and hopefully it will get addressed. :-)

Delbor,
okay, at least it was worth a try (macros often use the clipboard).

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Nick
Date: December 15, 2003 01:26PM

Here's a quick fix.

In macros.cfg, add this to the very end:

OnCloseWindow {
$oldclip = getclipboard();
setclipboard($oldclip);
}

Now, I don't use layers, so am not sure what happens in that situation.

Also I haven't a clue why the above works !

Nick

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Delbor
Date: December 15, 2003 02:01PM

I hate to disappoint you:

I've added the above code to macros.cfg, but it does not work as intended.

@andya:
It also doesn't matter whether I copy text from a webpage or from a textarea in a form, the content is lost once KM is closed.
But: If I have pasted the text while KM is opened, then close KM, the text remains in the clipboard. Maybe this explains your experience.

Delbor

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Nick
Date: December 15, 2003 02:06PM

It does here, Delbor - I can use the macro to turn the bug on and off.

Once adding it you have to restart KM!

Also I don't use layers.

I will be doing this at home tonight, so will confirm then that it works also.

Nick

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Delbor
Date: December 15, 2003 02:28PM

I stand corrected:

just re-tested and now I can confirm, that your bugfix is indeed working well. Sorry, must have forgotten to save or restart.

Delbor

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: andya
Date: December 15, 2003 02:56PM

>@andya:
>It also doesn't matter whether I copy text from a webpage or from a textarea in a >form, the content is lost once KM is closed.
>But: If I have pasted the text while KM is opened, then close KM, the text remains >in the clipboard. Maybe this explains your experience.

No not really; what I had copied, I hadn't pasted until after I closed. That's all right thought sounds like we got the fix. Thanks, Nick!

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: ra
Date: December 15, 2003 03:00PM

I can confirm that Nicks 'fix' (erm, workaround) is working (tested it three times, hopefully I haven't missed anything).

And with this bug I finally have the explanation for my clipboard behaving strange sometimes.

IMO this is should be filed as a high priority bug as it (potentially) causes data loss.

Options: ReplyQuote
Re: Clipboard contents disappear
Posted by: Andrew
Date: December 15, 2003 06:09PM
Options: ReplyQuote


K-Meleon forum is powered by Phorum.