When pressing Ctrl-S to save a webpage the focus is not always on the modal
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: Laurent.Lyaudet, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Steps to reproduce:
Hello,
I save webpages with Ctrl-S then Enter.
Actual results:
On first try after reboot it usually works.
But after opening other tabs, if I just type Ctrl-S the focus is not on the modal.
I have to type Ctrl-S Alt+` Enter 3 steps instead of 2.
Expected results:
The focus should always be on the modal after opening it.
It is cumbersome for me to have to type Alt+` and for other people it may even be an accessibility problem.
| Reporter | ||
Comment 1•2 years ago
|
||
I'm using latest Ubuntu 23.04 and the latest Firefox version for this release of Ubuntu.
I hope you will be able to reproduce the bug easily.
In case, you cannot reproduce, I can provide more information and do some testing.
I don't know if it could be a bug with Gnome linked to the fact that I use 2 screens.
I have not tested yet to reproduce it without my second screen connected.
| Reporter | ||
Comment 2•2 years ago
|
||
I just did some further testing. I shutdown my laptop, disconnected the second screen and restarted.
The bug is still here, so in case it is linked to Gnome or Wayland, it does not need a second screen.
Steps :
- Open Firefox
- You are on a New tab
- Ctrl-S Enter it saves the new tab
- Ctrl-T creates another new tab
- Ctrl-S Enter does not save the "new new" tab
- Ctrl-S ALt-` Enter does save the "new new" tab
Comment 3•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 4•2 years ago
|
||
The severity field is not set for this bug.
:farre, could you have a look please?
For more information, please visit BugBot documentation.
Comment 5•2 years ago
|
||
That is a native filepicker, right? Do you by any chance have "focus follows mouse" enabled on linux, or some such which affects where the focus is.
Though, I can't reproduce this on Fedora/Gnome, even if focus follows mouse.
Updated•2 years ago
|
| Reporter | ||
Comment 6•2 years ago
|
||
Hello,
I tested all 3 modes :
laurent@laurent-GL73-8SD:$ gsettings set org.gnome.desktop.wm.preferences focus-mode sloppy$ gsettings set org.gnome.desktop.wm.preferences focus-mode mouse
laurent@laurent-GL73-8SD:
laurent@laurent-GL73-8SD:~$ gsettings set org.gnome.desktop.wm.preferences focus-mode click
None works with me.
In all 3 modes, I have the bug.
When you say you can't reproduce it on Fedora/Gnome, did you check that the first tab save does work but the second fails ?
Or did you test only on one tab ?
Best regards,
Laurent Lyaudet
| Reporter | ||
Comment 8•2 years ago
|
||
Hello,
I no more reproduce the bug now that I am on Ubuntu 23.10.
I thought that it was linked to my profile because I created a second profile a few weeks ago and did not had the bug while saving pages in a session with my second profile.
But before adding this information in the ticket, I tested again with my main profile, and I do not reproduce the bug.
If I encounter it again someday, I'll try to find additional informations that may help resolve it.
Best regards,
Laurent Lyaudet
Description
•