Search in recent files list only works with lowercase letters

Bug #1800179 reported by Simon May
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Fix Released
Low
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned

Bug Description

* Impact
The document filter is case sensitive which is confusing/not convenient

* Test case
- Open a document with an Uppercase letter
- close it
- click on 'open' and type the name with an Uppercase

-> it should list the document

* Regression potential
The code change is in the filtering code, just test that.

--------------------------------

When clicking “Open” and typing to search the recently opened files, any search involving uppercase letters fails to return any result, even if files with uppercase letters in their file names have recently been opened. Searching for the same file names, but using all-lowercase letters, does yield results (see attached screenshot). So it seems that gedit converts the recently used file names to lowercase before comparing to the search term, which is incorrect.

Revision history for this message
Simon May (socob) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

Can confirm using Ubuntu 18.04 and gedit 3.28.1.
This needs to be reported upstream as probably not an Ubuntu issue.

See https://wiki.ubuntu.com/Bugs/Upstream/GNOME.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
Paul White (paulw2u) wrote :
Revision history for this message
Paul White (paulw2u) wrote :

Upstream report closed via commit 370cdd33
Fix should find its way into Ubuntu in due course

Changed in gedit (Ubuntu):
status: Confirmed → Fix Committed
Changed in gedit (Ubuntu):
importance: Undecided → Low
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gedit - 3.30.2-2

---------------
gedit (3.30.2-2) unstable; urgency=medium

  * debian/patches/document-selector-make-search-caseless.patch:
    - 'document selector: make search caseless', it makes the filter in
      the open document work in a more logical way (lp: #1800179)

 -- Sebastien Bacher <email address hidden> Mon, 17 Dec 2018 16:32:49 +0100

Changed in gedit (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Simon, or anyone else affected,

Accepted gedit into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gedit/3.30.2-0ubuntu0.18.10.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gedit (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Changed in gedit (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Simon, or anyone else affected,

Accepted gedit into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gedit/3.28.1-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Paul White (paulw2u) wrote :

Downloaded gedit 3.28.1-1ubuntu1.1 and tested on Ubuntu 18.04 with various combinations of upper/lower case characters within the filename and extension. Search of recently used files is now caseless.

tags: added: verification-done-bionic
removed: verification-needed-bionic
Revision history for this message
Paul White (paulw2u) wrote :

As I no longer have an Ubuntu 18.10 installation I tested gedit 3.30.2-0ubuntu0.18.10.2 in a live session by enabling proposed. I created several files with same names but with different or mixed case, and searched using both upper and lower case. As with the Ubuntu 18.04 test above the search of recent files (document selector) is now caseless.

tags: added: verification-done-cosmic
removed: verification-needed-cosmic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gedit - 3.30.2-0ubuntu0.18.10.2

---------------
gedit (3.30.2-0ubuntu0.18.10.2) cosmic; urgency=medium

  * debian/patches/document-selector-make-search-caseless.patch:
    - 'document selector: make search caseless', it makes the filter in
      the open document dialog work in a more logical way (lp: #1800179)

 -- Sebastien Bacher <email address hidden> Mon, 17 Dec 2018 16:41:01 +0100

Changed in gedit (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gedit has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gedit - 3.28.1-1ubuntu1.1

---------------
gedit (3.28.1-1ubuntu1.1) bionic; urgency=medium

  * debian/patches/document-selector-make-search-caseless.patch
    - 'document selector: make search caseless', it makes the filter in
      the open document dialog work in a more logical way (lp: #1800179)

 -- Sebastien Bacher <email address hidden> Mon, 17 Dec 2018 16:46:15 +0100

Changed in gedit (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.