diff options
author | toofar <toofar@spalge.com> | 2023-03-19 13:11:12 +1300 |
---|---|---|
committer | toofar <toofar@spalge.com> | 2023-03-19 13:23:18 +1300 |
commit | 294e73660c1f3d1aff50843c25e2f8f7574c4332 (patch) | |
tree | 2c6ba6b8e12f6adc2f62f309524d57f1832d35dc /requirements.txt | |
parent | cb9f3fa141dac990c69973ae3aef8b175938c2eb (diff) | |
download | qutebrowser-294e73660c1f3d1aff50843c25e2f8f7574c4332.tar.gz qutebrowser-294e73660c1f3d1aff50843c25e2f8f7574c4332.zip |
Re-focus tabs created from :undo
There's some weird issue with Qt6.4 and 6.5 where a webengine view gets
its widget swapped out when it gets history deserialized into it. While
it's swapping widgets it has no so the focus gets passed to some other
widget should never even have focus.
There's probably more comprehensive ways we could handle this, by
overriding the WebEngineView layout, or by overriding focusNextPrevChild
on the parent to put out own logic into the "child is going, pass focus
to parent" logic chain.
But all that seems like a bit too much of a headache for this very
focussed issue. We want the new tab to get focus, so lets re-focus it.
Technically we could just focus the last tab that we open, if we are
undoing multiple, but the existing logic is to open each of them in turn
as foreground tabs and this reinforces that.
Closes: #7623
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions