patchautocutsel - Patches: patch #3367, synchronize primary selection,...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3367: synchronize primary selection, clipboard, and cut buffer all at once

Submitter:  None
Submitted:  Fri 17 Sep 2004 06:35:27 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Wont Do Privacy:  Public
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed

Mon 27 Sep 2004 07:02:51 PM UTC, comment #5: 

hmm, good idea. that also keeps all of this bloat out of autocutsel. ok, feel free to close this item, and sorry for bothering you... :P

also, for posterity, my page for this patch is:
http://snarfed.org/space/autocutsel+clipboard+and+primary+patch

Ryan Barrett <blaize>
Sat 25 Sep 2004 11:50:59 PM UTC, comment #4: 

I had some problems with your patch. Sometimes it owns the PRIMARY selection when it shouldn't (like with the bug fixed in 0.7.0).

I have a suggestion for your particular problem: you could run 2 instances of autocutsel: one with the PRIMARY selection, and the other one with the CLIPBOARD. Since both will synchronize with the cutbuffer, everything should be kept synchronized.

BM <bmbros>
Group administrator
Thu 23 Sep 2004 04:09:33 AM UTC, comment #3: 

ok, a second pass at the patch is attached. the default behavior is unchanged, as is -selection PRIMARY and -selection CLIPBOARD. -selection PRIMARY,CLIPBOARD invokes the new behavior.

also, if the need arises, it shouldn't be hard to extend it to support more than two selections.

Ryan Barrett <blaize>
Sat 18 Sep 2004 02:46:19 AM UTC, comment #2: 

good point...and thanks for the feedback, and for an awesome tool!

several "-selection" arguments makes sense to me. i'll add that and re-post.

Ryan Barrett <blaize>
Fri 17 Sep 2004 06:53:55 PM UTC, comment #1: 

Synchronizing these two selections is not the primary goal of autocutsel and shouldn't be the default behavior. I'd add this feature as an option. For example when providing several "-selection" arguments. Or with a specific argument on command line (-all?).

BM <bmbros>
Group administrator
Fri 17 Sep 2004 06:35:27 PM UTC, original submission:  

this patch updates autocutsel to synchronize the primary selection, clipboard, and cut buffer simultaneously. if any one is changed, the other two are updated/owned (if necessary.)

i wrote this patch as a workaround to address the lack of a keyboard shortcut in mozilla to paste the primary selection. (this was slowly driving my crazy. :P)

http://bugzilla.mozilla.org/show_bug.cgi?id=228011

this is definitely a big design change, not a bug fix, so don't feel like you're obligated to include it.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #7888:  autocutsel_unified.v2.patch added by blaize (13KiB - application/octet-stream - second try; supports -selection CLIPBOARD,PRIMARY; default behavior is unchanged)
file #7864:  autocutsel_unified.patch added by None (13KiB - application/octet-stream - patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-09-27 bmbros StatusNone Wont Do
    Open/ClosedOpen Closed
2004-09-23 blaize Attached File- Added autocutsel_unified.v2.patch, #3693
2004-09-17 None Attached File- Added autocutsel_unified.patch, #3669

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code