v0.22.0
Prerelease
Breaking changes
Primary+Tandtover a page now open the Omnibar over that page instead of replacing it with the Start page. This is the default for readers who upgrade too. To get the Start page back, turn on "New tab shows the Start page" in Settings' interface section, beside the Scene. It isnew-tab-start-pageinsettings.json.- The sidebar's two-finger Space swipe now commits at the swipe distance, 120 px unless you change it, instead of at half the sidebar's width. On a wide sidebar a Space switch commits sooner than before. Set Swipe distance on the new Gestures page if that is too short.
- Omaweb now depends on
omaweb-qtwebengine>=6.140.0-1on both architectures. The package manager pulls the new engine in with the upgrade.
Touchpad gestures
- A two-finger sideways swipe over a page goes Back or Forward. Swipe right for Back and left for Forward, following the system's scroll direction. An arrow follows your fingers and shows the threshold. The page navigates once when the fingers lift past 120 px, or when they move faster than 1000 px/s towards the destination. Moving back towards the start before lifting cancels it. Contributed by Alex Holt.
- The page keeps the swipe where it can use it. This covers horizontal scroll containers that can still scroll that way,
overscroll-behavior-x: containandnone, frames, canvas, native input fields and fullscreen pages. Vertical scrolling and horizontal mouse-wheel input work as before. - Settings has a new Gestures section after Keyboard. It has a card for each of three swipes:
- two fingers over the page, Back and forward by default
- two fingers over the sidebar, Switch Space by default
- three fingers anywhere in the window, Switch tab by default
- Each swipe can run Back and forward, Switch Space, Switch tab or Nothing.
- One Swipe distance slider, 60 to 240 px in steps of 10, sets how far every swipe goes.
- The choices are under
"gestures"insettings.json. An edit of the file applies at once, and Sync carries them. - A three-finger swipe follows the fingers, not the scroll setting. Fingers moving left go to the next tab or Space, or Forward.
- Hyprland's own three-finger gesture acts on the same swipe, and the page says so.
- A page in a Tab window or an Auxiliary window runs Back and forward from a two-finger swipe. With any other action chosen, the swipe stays with the page. Three fingers act in the main window only.
- A swipe over a Glance goes back and forward in the Glance.
Opening a new tab
- With the Omnibar open over the page for a new tab, the page stays under the glass. Return opens the destination in a new tab, and choosing an open tab switches to it.
Escapeleaves the page where it was. - In a split, this Omnibar stands over both panes.
- Where there is no page to show, such as a Space at rest or after the last tab closes, the Start page shows as before.
- The sidebar's tab list now ends in a "+ New tab" row. A left click runs the new-tab command, so it opens what
Primary+Topens. It sits after the last tab, after the whole list when it ends in a Folder, and stays at the list's foot while a long list scrolls above it. While a new tab's Omnibar or Start page waits for a destination, the row is drawn as the tab on show. An Agent Space has no row. - "New tab button in the sidebar", under "Sidebar side" in Settings, hides the row. It is
sidebar-new-tabinsettings.jsonand is on by default. - Both new settings are carried by Sync. A change from Sync or from the file applies while the window runs.
- Typing in the Omnibar over a Space of a hundred tabs no longer redraws every row when a keystroke narrows the list. Rows still listed keep the row drawn for them.
Site styles
- A Site style is a
<host>.cssfile instyles/in the configuration directory. It styles its host and every host under it, the same way a Link rule's*.github.commatches. A narrower host's file applies last. An IP address takes its own file alone. - Saving or removing a file restyles open pages in place, with no reload.
- Site styles apply whether or not Content blocking is on for the site. They apply in your Spaces, Private windows and Auxiliary windows, but not in an Agent Space.
- Sync carries the files, removals included. An edit wins over a removal made on another machine. Sync keeps a style a machine had before it first synced.
- "Style this site" in the page menu or the Omnibar, or
Primary+Shift+S, opens and closes the Site style panel. The panel is 400 px wide, docked opposite the sidebar, and the page narrows beside it. - The panel stays open across navigation and tab switches, and follows the page's registrable site.
Alt+HandAlt+Lmove to the panel. Developer tools sit inside the panel when both are open.- A host picker in the panel lists the page's host up to its registrable domain.
- The editor is monospace with CSS highlighting. Typing restyles the page at once. The file is written 400 ms after you stop typing, or on quit.
- Open in editor opens the file in your editor.
- The Picker hides an element by pointing at it. Hover highlights it and a click picks it, and the page never receives that click.
- While picking, these keys move the pick:
- Up and Down move to the parent and child.
- Left and Right move to the siblings.
[and]narrow and widen.- Enter hides.
Escapestops.
- The pick card shows an editable selector and how many elements it matches. It has a slider from this element to all related ones, and the slider takes keys too.
- Selectors prefer a stable id, then classes and attributes a build tool did not generate. They use
:nth-childonly as a last resort. - Each hide is one line marked
/* Hidden by Omaweb */in the site's file. Your own CSS is never rewritten. - The panel lists hidden elements with their count on the page. Each has a preview without that hide, and an undo.
- A switch turns a style off without touching the file. The switch is stored as
"site-styles": {"<host>": false}insettings.json, which Sync carries. - Settings has a new Site styles section that lists every style by host. Each has its switch, Edit and Remove, and the section has a button that opens the styles folder.
- The panel works in Private windows on the same files. It is not offered in an Agent Space.
Engine
- The development engine is now QtWebEngine 6.140.0. It is Chromium 140.0.7339.264, with Chromium's security fixes up to 157.0.8103.50. The previous engine, 6.11.3, stopped at 155.0.8059.85.
- The Engine security baseline is raised to match.
Fixes
- On aarch64, Page darkening now draws a white page
#121212, as it does on x86_64, instead of#1b1b1b.
Full changelog: https://github.com/villekivela/omaweb/compare/v0.21.0...v0.22.0