Bug 23911 - paste into "Searching by description" field behaves erratically
Summary: paste into "Searching by description" field behaves erratically
Alias: None
Product: PackageKit
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: low minor
Assignee: Richard Hughes
QA Contact:
Depends on:
Reported: 2009-09-13 14:16 UTC by Denny Crane
Modified: 2018-08-21 15:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Denny Crane 2009-09-13 14:16:38 UTC
In gpk-application, pasting into the "Find" input field sometimes behaves as the user would expect, but other times it behaves quite strangely.

For example, if the user has already performed a search and then highlights the existing search term and pastes over it, gpk-application acts like it automatically started the new search (with the right side pane blanking and the "Querying" text showing up at the bottom left), but it eventually comes back to the results for the text which was pasted over rather than the intended search. This bug still exists as of today in gnome-packagekit-2.27.3-1.

Also, I have previously observed that pasting over the highlighted text used to / sometimes does not overwrite the highlighted text, but instead appends to the end of it.

In case it's not obvious why someone would ever paste into the "Find" field rather than typing, that could be because they are searching for a specific package name that they copy and paste from their browser, or, in my specific case, it's because I keep a running list of all packages I need/want to install on a fresh copy of Fedora.
Comment 1 Richard Hughes 2010-01-20 08:32:14 UTC
Seems to work for me with git master.
Comment 2 Frank York 2013-12-08 05:12:00 UTC
This behavior still exists in gnome-packagekit-installer 3.10.1-1 ...

I have been observing this behavior with various versions of packagekit for several years now. If the search text is highlighted and then pasted over (as opposed to typed over) the interface behaves as if the user pressed Enter (the right pane blanks, as if searching, and the search field locks, then the right pane populates with the prior search's content and the search field unlocks).

Example case:
-i search for nano
-i get results for nano
-i highlight "nano" in the search field, then paste "gimp" by pressing CTRL-V (also tried by right-clicking and selecting "Paste")
-the search field text is changed to "gimpnano" (or sometimes "nanogimp"), the search field is locked, and the right pane goes blank
-after a moment, the search field unlocks and the search results for nano reappear

-if i repeat the process at this point, the search field text changes to "gimpgimpnano" and it says no search results
Comment 3 Richard Hughes 2018-08-21 15:52:49 UTC
We moved the upstream bugtracker to GitHub a long time ago. If this issue still affects you please re-create the issue here: https://github.com/hughsie/PackageKit/issues
Sorry for the impersonal message, and fingers crossed your issue no longer happens. Thanks.

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.