Thanks for your report.

Confirmed in   Installed: 0.63.1ubuntu1
@duanedesign, the reporter means paste a previously highlighted text with the 
middle button of the mouse which is different from CTRL+C/CTRL+V

** Changed in: synaptic (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: synaptic (Ubuntu)
   Importance: Undecided => Low

** Tags added: patch

** Tags added: bitesize

** Description changed:

  Binary package hint: synaptic
  
  Hi
  
  In Synaptic, you can use the "cut and paste" functionality to place
  search terms into the Search windows text field. (3° mouse button to
  past) This is not refering to the Quick Search, but the Search dialog
  box you get when you click the Search button in the toolbar at the top
  of the window.
  
  When you open the Search window the text of the last search criteria is
  selected.  This causes the paste function, accessed by clicking the
  scroll wheel, to no longer function correctly. Clicking the scroll wheel
  should "paste" the "cut" text into the Search field. Instead clicking
  the scroll wheel results in no text being pasted into the Search field.
  
+ == HOW TO REPRODUCE ==
+ - open the 'findwindow' (edit->search)
+ - enter a string in the text entry and search
+ - Select (highlight) a string with your mouse
+ - open the 'findwindow' (edit->search) again
+ - paste with the 3rd button. 
+ 
+ Result:
+ You can't paste. The buffer has been replaced by the highlighted text in the 
find window
+ 
+ 
  Here a very simple patch to solve the problem
  
  diff -r synaptic-0.62.2ubuntu2/gtk/rgfindwindow.cc 
synaptic-0.62.2ubuntu2-jmb0007/gtk/rgfindwindow.cc
  45c45
  <    gtk_editable_select_region(GTK_EDITABLE(entry), 0, -1);
  ---
  >    gtk_editable_select_region(GTK_EDITABLE(entry), 0, 0);
  
- 
  regards
  jm

** Summary changed:

- synaptic enhancement : find window
+ [findwindow] Cannot paste with 3rd mouse button if a previous search already 
performed.

-- 
[findwindow] Cannot paste with 3rd mouse button if a previous search already 
performed.
https://bugs.launchpad.net/bugs/314181
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to