Summary: | keep the primary selection in media dialog | ||
---|---|---|---|
Product: | swfdec | Reporter: | Sylvain BERTRAND <sylvain.bertrand> |
Component: | plugin | Assignee: | swfdec ml <swfdec> |
Status: | RESOLVED NOTOURBUG | QA Contact: | swfdec ml <swfdec> |
Severity: | normal | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
keep the primary selection in media dialog
keep the primary selection in media dialog - try 2 keep the primary selection in media dialog - try 3 |
Description
Sylvain BERTRAND
2008-02-26 04:15:40 UTC
That's two different issues. Copying the link works, but the widget used for the URL loses PRIMARY selection when it loses focus, so it only remains in the CLIPBOARD. As a workaround, I added this to my .Xresources file: *VT100*translations: #override \n\ Shift Ctrl<Btn2Up>: insert-selection(CLIPBOARD, CUT_BUFFER1) \n\ Shift Ctrl<KeyPress> Insert: insert-selection(CLIPBOARD, CUT_BUFFER1) Now I can insert in xterm from CLIPBOARD with Ctrl-Shift-Insert or Ctrl-Shift-middle click. I agree, having a more convenient "properties" dialog would be great, but it would have severity "enhancement". I believe both of these issues are fixed in the last patch attached to bug 15958, if you can confirm i'll close this as duplicate. Applied patch try3 on git swfdec-mozilla. Still failing to copy video link from properties dialog box to a terminal for wget use. BTW, in git swdec libs flash movies are play by default, how to disable this and make make flash movies *not* played by default? (In reply to comment #3) > Applied patch try3 on git swfdec-mozilla. Still failing to copy video link from > properties dialog box to a terminal for wget use. ok, i didn't understand the problem. The other clipboard (ctrl + c / ctrl + v) works fine. > BTW, in git swdec libs flash movies are play by default, how to disable this > and make make flash movies *not* played by default? > In 0.7 there is a new autoplay feature, try to add to ~/.config/swfdec-mozilla.conf: [global] autoplay=false and set autoplay to false to the other entries you have there. If you have other questions please use the list. Created attachment 16759 [details] [review] keep the primary selection in media dialog Attached a patch tha copy the selection in both PRIMARY and CLIPBOARD. Please note that you have at least to click one item to fill the clipboard. Patch requires attachment 16713 [details] [review] posted in bug 15960. Created attachment 16760 [details] [review] keep the primary selection in media dialog - try 2 New revision: only handle PRIMARY, don't touch CLIPBOARD. Tried swfdec-mozilla (git) with attachment 16713 [details] [review] and attachment 16713 [details] [review] Still unable to past in a terminal. Created attachment 18323 [details] [review] keep the primary selection in media dialog - try 3 So the problem was that the url field was editable, now the only way to cut is with primary selection just clicking on a row. If that is acceptable behaviour please apply. Also a variable got renamed as in gtk documentation. The biggest problem I have with this patch is that it's unintuitive. Selecting a row in a treeview does not repalce contents of the primary selection anywhere, right? (In reply to comment #9) > The biggest problem I have with this patch is that it's unintuitive. Selecting > a row in a treeview does not repalce contents of the primary selection > anywhere, right? Yes it's not common usage but it's very handy. I'm not really an user of that feature myself so i've not a strong opinion. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.