ctrl + backpace does not erase highlighted text

Bug #63012 reported by Vladimír Lapáček
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Rolf Leggewie

Bug Description

I am using the latest Edgy. If I get in the url bar using the ctrl + l and hit ctrl + backspace the text does not get deleted. Only the cursor gets to the first position of the selected text. The same applies for whole firefox not only the url bar.

Revision history for this message
Mateusz Drożdżyński (matid) wrote :

Thanks for your bug report. Do you possibly use any third-party extensions? I cannot reproduce your problem on my Edgy install - when I press ctrl+backspace it deletes the whole address in the URL bar.

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
Mateusz Drożdżyński (matid) wrote :

After a fruitful discussion on IRC, we came up with the following observations:

Firefox behaviour after pressing ctrl+backspace is different from what you see in other GNOME applications. Here are the differences:

1. If you select some text from left to right and press ctrl+backspace, it should remove the parts of the string word by word. Firefox does something different - it removes all the highlighted words, except the last one, so: 'one two three' becomes: 'three'.

2. If you select some text from right to left and press ctrl+backspace, it should remove everything before the selection, word by word. Firefox removes the highlighted word and the one before it, so 'one two three' with 'three' selected becomes: 'one '

Please also keep in mind that in GNOME, words can be separated not only with white-space characters, but also with '/' and possibly some more characters.

I think that we should try make Firefox as much GNOME-compliant as possible, but I'm don't know if the ctrl+bs behaviour is defined in GTK, GNOME or Ubuntu itself, so I refrained from forwarding this bug upstream.

Changed in firefox:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Needs Info → Confirmed
Revision history for this message
x (xk2c-deactivatedaccount) wrote :

Vladimír Lapáček:

enter in FF urlbar: about:config

Then enter in search bar: urlbar

set: browser.urlbar.clickSelectsAll to true.

From now on, when enter urlbar with CTRL+l it will highlight the whole address and you can just type the new one, it will immediately overwrite the old one.

No need to delete any address anymore. ;)

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hi, your original report was against the edgy distribution. I was
wondering if you are still experiencing this issue. edgy support is
being end-of-lifed.


FWIW, my hardy Firefox behaves the way you seem to suggest.

Changed in firefox:
assignee: desktop-bugs → r0lf
status: Confirmed → Incomplete
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Closing this bug report as no further information has been provided.
Please feel free to reopen this bug if you can provide the information
asked for. Thanks!

Changed in firefox:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers