Closed Bug 369629 Opened 19 years ago Closed 19 years ago

Ctrl+bksp / Ctrl+del on GTK Widgets deletes too much?

Categories

(Firefox :: Address Bar, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 190615

People

(Reporter: ruibalp, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2pre) Gecko/20070206 Minefield/3.0a2pre Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1) Gecko/20061201 Firefox/2.0 On Win32, Control+Backspace deletes a "word". GTK does this too, but "words" are delimited differently. In Windows/Aqua, words are defined as one or more alphanumerics followed by zero or more nonalphanumerics. In gtk/qt, words are defined as one more more nonwhitespace followed by zero or more whitespace. Reproducible: Always Steps to Reproduce: 1. Enter a URL into the Location Bar (e.g. https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format=guided ) 2. Press End to move your cursor to the end/deselect the entire URL 3. Press Control+Backspace Actual Results: On linux, the resulting URL will be blank. Expected Results: In windows and OSX(camino, alt+backspace), the resulting URL will be: https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&format= It's not really a bug, it just makes it annoying to use firefox on linux when I'm used to windows. And it's convenient when you want to delete part of a URL, not the whole thing. Maybe it shouldn't be the default behavior, but there should be a way to get the same results on both platforms. Maybe there could be something in about:config to adjust this behavior on the XUL widgets? The same behavior occurs with control+delete, but with the following 'word' instead of the preceding.
You can set stop_at_punctuation to true to get the Windows behavior.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.