Public bug reported:

How to reproduce:
1. Focus a GNOME Terminal window
2. Open the Find dialog
3. Search for a string
4. Close the Find dialog
5. Select some text in the terminal
6. Open the Find dialog again

At this point, there are two possible behaviors:
* If the Find dialog contained some text when it was closed, the selection in 
the terminal window will be cleared, the text in the Find dialog will be 
selected, and the primary buffer will be emptied.
* If the Find dialog was empty when it was closed, the selection and primary 
buffer will be left as they were.

Maybe there's a good reason for this behavior, but I would expect the selection 
and primary buffer to always be left as they were, because of two use cases:
* Select some text that you want to search, bring up the search interface, 
click Backspace or Delete to clear the Find dialog, and middle-click to fill in 
the selected text.
* Select some text, bring up the search interface, then start searching from 
the start/end of the selection (whichever gives the biggest search space when 
the direction is taken into account).

Alternatively, the selection could replace the text in the search
interface when bringing it up.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-terminal 3.4.1.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-35.55-generic 3.2.34
Uname: Linux 3.2.0-35-generic i686
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: i386
Date: Mon Jan 14 15:29:58 2013
ExecutablePath: /usr/bin/gnome-terminal
InstallationMedia: Ubuntu 10.04.4 LTS "Lucid Lynx" - Release i386 (20120214.2)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to precise on 2012-07-19 (179 days ago)

** Affects: gnome-terminal (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 precise running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1099436

Title:
  Opening the Find dialog sometimes clears the primary buffer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1099436/+subscriptions

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

Reply via email to