Changes to be committed:
modified: qutebrowser/browser/browsertab.py
modified: qutebrowser/config/configdata.yml
modified: tests/end2end/features/tabs.feature
Changed pinned.tabs.frozen to be tabs.pinned.frozen in all of
these files.
Implement a new setting, `pinned.tab.frozen` (boolean), which when false
allows a user to navigate to new URLs in a pinned tab (default behavior
is to have `pinned.tab.frozen = true`, in which no navigation is allowed).
issue URL: https://github.com/qutebrowser/qutebrowser/issues/4400
Changes to be committed:
modified: qutebrowser/browser/browsertab.py
Add `navigation_blocked` method to AbstractTab, which returns
true if navigation is allowed on a tab.
modified: qutebrowser/browser/commands.py
Change `openurl` to use `navigation_blocked` method of a tab to
determine behavior while navigating a pinned tab.
modified: qutebrowser/components/misccommands.py
Change `home` to use `navigation_blocked` method of a tab to
determine behavior while navigating a pinned tab.
modified: qutebrowser/config/configdata.yml
Add `pinned.tab.frozen` config.
modified: tests/end2end/features/tabs.feature
Add tests for :open and :home on pinned tabs with
`pinned.tab.frozen` set to false
With QtWebKit it's probably okay to still use it (*cough* Hyperbola
GNU/Linux-libre^tm *cough*), and only blacklisting it with QtWebEngine would be
quite some effort.
Fixes#3608
This changes the undo stack from a list of UndoEntry objects to a list
of lists of UndoEntry objects, so groups of tabs can be added. Only
:tab-only does that, but it's exposed by TabbedBrowser.close_tab as a
keyword argument.
This really tripped me up yesterday, My "Vim default" is to use tabs.
This (where `!···` is a tab) does not work as you'll hope it works:
Scenario: Retrying a failed download when the directory didn't exist (issue 2445)
When I download http://localhost:(port)/data/downloads/download.bin to <path>
And I wait for the error "Download error: No such file or directory: *"
And I make the directory <mkdir>
And I run :download-retry
!···!···And I wait until the download is finished
Then the downloaded file <expected> should exist
Examples:
| path | mkdir | expected |
| asd/zxc/ | asd/zxc | asd/zxc/download.bin |
Unfortunately, pytest-bdd uses the "Python 2 behaviour" of "expand all
tabs to 8 spaces", and doesn't give any errors on strange/inconsistent
whitespace. It can cause very confusing errors.