-
0.8.098c876d7 · ·
labwc 0.8.0 The main focus in this release has been to port labwc to wlroots 0.18 and to grind out associated regressions. Nonetheless, it contains a few non-related additions and fixes as described below. There are a couple of regression warnings when using wlroots 0.18: 1. There appears to be an issue with increased commit failures, particularly with intel drivers. If this turns out to be an issue for anyone please try running with `WLR_DRM_NO_ATOMIC=1` or run the labwc v0.7 branch or its latest release until this is resolved. 2. Fullscreen VRR is broken but should be fixed once wlroots 0.18.1 is released. Again, if that is a problem we advise to stay with the v0.7 branch in the short term until fixed. PR #2079 A v0.7 branch has been created for bug fixes beyond `0.7.3` (built with wlroots `0.17`). A big thank you goes to @Consolatis for carefully crafting the commits to port across to wlroots 0.18.0. Many thanks also to the other core devs @ahesford, @jlindgren90, @johanmalm and @tokyo4j for reviewing, merging as well as contributing many patches with fixes and new features. And in this release we have some great contributions from @jp7677, @kode54, @xi and @heroin-moose which have been attributed with a 'Written-by' against each relevant log entry. Added - Add options `fullscreen` and `fullscreenForced` for `<core><allowTearing>` Written-by: @jp7677 & @Consolatis PR #1941 - Optionally allow keybindings when session is locked, which for example can be useful for volume settings. Written-by: @xi PR #2041 ```xml <keyboard><keybind key="" allowWhenLocked=""> ``` - Add resistance when dragging tiled/maximized windows with config option `<resistance><unSnapThreshold>`. PR #2009 #2056 - Implement support for renderer loss recovery. Written-by: @kode54 PR #1997 - Support xinitrc scripts to configure XWayland server on launch. PR #1963 - Add theme option `window.button.width` to set window button size. Written-by: @heroin-moose PR #1965 - Add `cascade` placement policy. PR #1890 ```xml <placement> <policy>cascade</policy> <cascadeOffset x="40" y="30"/> </placement> ``` - Support relative tablet motion. Written-by: @jp7677 PR #1962 ```xml <tabletTool motion="absolute|relative" relativeMotionSensitivity="1.0"/> ``` Fixed - Make tablet rotation follow output rotation. Written-by: @jp7677. PR #2060 - Fix error when launching windowed Chromium. PR #2069 - Fix empty `XKB_DEFAULT_LAYOUT` bug. PR #2061 - Take into account CSD borders when unconstraining XDG popups. PR #2016 - Choose xdg-popup output depending on xdg-positioner PR #2016 - Fix wlroots-0.18 regression causing flicker with some layer-shell clients like fuzzel on launch. PR #2021 - Fix incorrect condition in server-side-deco logic PR #2020 - Fix flicker of snapped windows in nested session. PR #2010 - Fix tearing with atomic mode setting. Written-by: @kode54 PR #1996 - Handle initially maximized and fullscreen xdg-shell windows better. PRs #1956 and #2007 - Set initial geometry of maximized and fullscreen XWayland windows in the `map_request` handler to avoid visual glitches with some apps. PR #1529 - Disable pango glyph position rounding to avoid text geometry jump around when changing scale. Changed - Make windows stay fullscreen when associated output is disconnected. PR #2040
-
-
0.7.471136fdf · ·
labwc 0.7.4 Fixed - Make SSD borders respect snapped state on Reconfigure. PR #2003 - Fix magnifier by disabling direct scanout when active. PR #1989 - Fix crash triggered by pipemenu without parent `<menu>` element. PR #1988
-
-
0.7.3307f1991 · ·
labwc 0.7.3 Following a couple of big releases, this one feels like more steady with lots of focus on bug fixes and stability. In terms of new features the most noteworthy ones include improved tablet support (by @jp7677), `Super_L` on-release keybinds (by @spl237 from the Raspberry Pi teams) and the screen magnifier which was a joint effort by @spl237 and @Consolatis. Added - Add config option `<core><xwaylandPersistence>` to support keeping XWayland alive even when no clients are connected. PR #1961 - Support xdg-shell protocol v3 with popup repositioning. #1950 Also see https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3514 which adds support on the wlroots side. - Add action `ToggleTabletMouseEmulation`. Written-by: jp7677 PR #1915 - Implement `<resize><drawContents>`. With thanks to @tokyo4j PR #1863 - Add `onRelease` option to `<keybind>` in support of binding `Super_L` to a menu. Written-by: @spl237 PR #1888 - Add initial support for `security-context-v1` (user configurable blocklists are still missing). Written-by: @nesteroff PR #1817 - Add support for `tablet-v2-manager`. Written-by: @jp7677 PR #1678 #1882 - Add action `UnMaximize`. PR #1831 - Support multiple IME popups. PR #1823 - Add `All` context for mouse bindings which need to be handled irrespective of the mouse pointer location. This enables Super+mouse-scroll to change magnification. Written-by: @spl237 PR #1768 - Add `SetDecorations` action. Written-by: @xi PR #1733 - Add `policy` option to `AutoPlace` action. PR #1784 - Add window type filter to If-actions. Written-by: @xi PR #1731 - Add screen magnifier which can be controlled with the `ZoomIn`, `ZoomOut` and `ToggleMagnify` actions. Written-by: @spl237 PR #1774 Fixed - When looking for menu.xml, go through all paths rather than just giving up if not found in the first path searched. This makes it consistent with how other config/theme files are handled. PR #1971 - Fix memory leaks in theme.c and menu.c. PR #1971 - Fix session-lock bugs related to keyboard focus. PR #1952 - Clear focused surface on lock - Restore focused view on unlock - Fix memory leak in ssd/ssd-shadow.c PR #1954 - Respect `menu.overlap.x` when using pipemenus. PR #1940 - Do not try to restore windows to very small width/height on unmaximize. This fixes a bug with Thonny (Python IDE made with Tk). PR #1938 - Conditially set squared server-side decoration (SSD) corners when a view is tiled. Written-by: @jp7677 PR #1926 - Remember initial direction when starting window-cycling with `PreviousView`. Also make the toggling of direction when shift is pressed relative to the initial direction. For example if W-j is bound to PreviousWindow, subsequent key presses will continue to cycle backwards unless shift is also pressed. Written-by: @droc12345 PR #1919 - Show dnd icon above layer-shell surfaces. PR #1936 - Initialize locale after reading environment files so that client-menu items and workspace names follow the env var `LANG` should that be set in `~/.config/labwc/environment` (which is not recommended, but we prefer to handle it properly if it is). PR #1927 - Fix crash on `menu.xml` containing `<item>` without a parent `<menu>`. PR #1907 - Reset XWayland cursor image on cursor theme reload to avoid trying to read destroyed pixel data. PR #1895 - Prevent child views from opening outside of usable area. PR #1878 - Fix IME popups issues (flicker when popup surface is initially mapped and incorrectly showing multiple popups). PR #1872 - Rate-limit cursor-driven resize events based on monitor's refresh rate. This fixes the lag when resizing windows of some apps on XWayland, for example Chromium and Steam. PR #1861 - Session-lock: fix flashing & update cursor shape. PR #1858 - Remove tearing-controller listeners on destroy. PR #1853 - Handle invalid `ForEach` and `If` action cofigs. PR #1838 - Delay startup of applications until event loop is ready. This avoids race conditions when using autostart scripts that trigger a labwc SIGHUP. #1588 - With `SendToDesktop` action follow=no option, ensure the topmost window is focused. #1800 - Prevent XWayland from using incorrect keymap. #1816 - Allow keybinds containing the hyphen key to be defined with `-`. Written-by: @toast #1811 - Show/hide `top` layer more smartly. Before this commit, `top` layers were hidden whenever there was a fullscreen window in the corresponding output. With this commit, `top` layers are hidden only when there is a fullscreen window without other windows above it in the corresponding output. Changed - Remove subprojects/seatd.wrap as no longer needed - Action `MoveToCursor` is deprecated in favour of: `<action name="AutoPlace" policy="cursor"/>`.
-
-
0.7.2b41af54a · ·
labwc 0.7.2 This release is the second in a row that is larger than usual in terms of both fixes and new features. Significant additions include input-methods, pipemenus, snap-to-edge overlays and optionally drop-shadows. As usual, most of the commits are by the core devs: @ahesford, @Consolatis, @jlindgren90, @johanmalm and @tokyo4j, but we also have many great contributions from others as noted in the log. Added - Add `<menu><ignoreButtonReleasePeriod>` to prevent clicks with small movements from inadvertantly closing a menu or selecting a menu item. This is the equivalent of `<menu><hideDelay>` on Openbox. #1760 - Support drop-shadows (disabled by default) for windows using server-side decorations. Written-by: @cillian64 ```xml <theme> <dropShadows>yes|no</dropShadows> </theme> ``` ``` window.active.shadow.size: 60 window.inactive.shadow.size: 40 window.active.shadow.color: #00000060 window.inactive.shadow.color: #00000040 ``` - Add window-rule `ignoreConfigureRequest` to ignore X11 client-side configure requests (positioning and resizing). #1446 - Support window-rules based on window type: `<windowRule type="">`, where type can be for example `NET_WM_WINDOW_TYPE_DESKTOP` for an XWayland window. Written-by: @xi @txgk - Add `none` branch to the `ForEach` action. Written-by: @nicolas3121 #1298 ```xml <action name="ForEach"> <query identifier="foo"/> <then> <!-- carry out some action on match --> </then> <none> <!-- carry out some action if there were no matches at all --> </none> </action> ``` - Add -S|--session `<command>` option to start `<command>` on startup and to terminate the compositor when <command> exits. This is useful for session management as it allows the session client (for example `lxqt-session`) to terminate labwc when exiting itself. - In theme setting color definitions, support inline alpha encoding like `#aabbccff` - Add window-switcher custom field inspired by printf formatting. #1670 Written-by: @droc12345 and @Consolatis ```xml <windowSwitcher> <fields> <field content="custom" format="foobar %b %3s %-10o %-20W %-10i%t" width="100%" /> </fields> </windowSwitcher> ``` - Support defining window-switcher width as a percentage of output (display) width. Written-by: @droc12345 ``` osd.window-switcher.width: 75% ``` - Support Openbox compatible pipe-menus. See labwc-menu(5) for usage. - Add snap-to-edge overlay. Written-by: @tokyo4j. PR #1652 #1702 This includes the following new config and theme settings: ```xml <snapping> <overlay> <enabled>yes|no</enabled> <delay inner="500" outer="500"/> </overlay> </snapping> ``` ``` snapping.overlay.[region|edge].bg.enabled: yes|no snapping.overlay.[region|edge].border.enabled: yes|no snapping.overlay.[region|edge].bg.color: #8080b380 snapping.overlay.[region|edge].border.width: 1 snapping.overlay.[region|edge].border.color: #ffffff,#000000,#ffffff ``` - Add theme settings listed below for window-switcher preview border. Written-by: @tokyo4j ``` osd.window-switcher.preview.border.width: 2 osd.window-switcher.preview.border.color: #ffffff,#00a2ff,#ffffff ``` - Support libinput config option for calibration matrices. `<libinput><device><calibrationMatrix>`. Written-by: @SnowNF - Add new window-switcher field content types `workspace`, `state`, `type_short` and `output`. Written-by: @droc12345 PR #1623 ```xml <windowSwitcher allWorkspaces="yes"> <fields> <field content="workspace" width="5%" /> <field content="state" width="3%" /> <field content="type_short" width="3%" /> <field content="output" width="9%" /> <field content="identifier" width="30%" /> <field content="title" width="50%" /> </fields> </windowSwitcher> ``` - Support input methods (or input method editors, commonly abbreviated IMEs) like Fcitx5, using protocols text-input-v3 and input-method-v2. This includes IME popups. Written-by: @tokyo4j - Add `atCursor` attribute to action `ShowMenu` so that a window's "client-menu" could optionally be launched at the pointer using a keybind as follows: ```xml <action name="ShowMenu" menu="value" atCursor="yes" /> ``` - Support workspace-prefix (`<desktops><prefix>`) for workspace-switcher onscreen display when naming workspaces by digits, for example 1, 2, 3 Written-by: @droc12345 - Process all `*.env` files in an `environment.d` directory alongside and in the same way as each potential `environment` file. - Allow empty variables in `environment` files. In other words, respond to variable declarations of the form "VARIABLE=", with no following value, by setting the corresponding environment variable as an empty string. - Add optional headless fallback output that is automatically created when no other output exists. Enable this by setting the environment variable `LABWC_FALLBACK_OUTPUT` to the desired output name. The feature benefits applications like wayvnc the most by ensuring that there is always an output available to connect to. #1618 Co-Authored-By: Simon Long <simon@raspberrypi.com> - Optionally show windows on all workspaces in window-switcher. ```xml <windowSwitcher allWorkspaces="yes"> ``` - Handle touch on headerbar using cursor emulate events. Issue #1550 Written-by: @spl237 - Updated dbus activation environment with more environment variables (`XCURSOR_SIZE`, `XCURSOR_THEME`, `XDG_SESSION_TYPE`, `LABWC_PID`) Written-by: @winerysearch Issue #694 - Run `shutdown` script on exit (equivalent to `autostart` on startup) - Add `wrap` argument to action `MoveToOutput`. Wrap is disabled by default to keep the user interface consistent. Example usage: ```xml <action name="MoveToOutput" direction="right" wrap="yes" /> ``` Fixed - Prevent Chromium from crashing when started after a virtual keyboard is destroyed. #1789 - Fix top-layer not showing when there is a minimized full-screen window Written-by: @fberg - Prevent the following whilst window-switcher cycling (#1640): - Cursor actions on the window previews - Request-xdg-activation - Foreign toplevel request-activate - XWayland request-activate - Prevent shaded XWayland windows from getting cursor events. #1753 - Fix menu-parser use-after-free bug. #1780 - Update top layer visibility on map to fix bug with Steam's Big Picture Mode window which requests fullscreen before mapping. #1763 - Do not update server-side-decoration if window is too small. #1762 - Fix crash on `Kill` action with XWayland windows. #1739 - Update workspaces on `--reconfigure`. Written-by: @tokyo4j - Notify idle manager when emulating cursor movement. - Fix GrowToEdge/ShrinkToEdge action bug caused by clients ignoring the requested size, for example a terminal honouring size-hints. - Fix `assert()` on VT switch. Issue #1667 - Ensure titlebar has consistent look when using transparency. #1684 - Fix dnd bug where dnd does not finish properly on cursor-button-release if there is no surface under the cursor such as on the desktop when no background client is running. #1673 - Send cursor-button release event to CSD client before finishing window dragging to avoid a bug whereby the release event is incorrectly sent to a layer-shell client at the end of a drag. - Validate double-click against SSD part type because clicks on different parts of a client in quick succession should not be interpreted as a double click. #1657 - Fix bug that region overlay is not shown when a modifier key is re- pressed. - Fix workspace-switcher on-screen-display positioning of text using right-to-left (RTL) locales. Written-by: @micko01 Issue #1633 - Unconstrain xdg-shell popups to usable area (rather than full output) so that popups do not cover layer-shell clients such as panels. Written-by: @tokyo4j - Exclude unfocusable XWayland windows (for example notifications and floating toolbars) from being processed by wlr-foreign-toplevel protocol as these windows should not be shown in taskbars/docks/etc. - Render text buffers with opaque backgrounds because subpixel text rendering over a transparent background does not work properly with cairo/pango. PR #1631 issue #1684 - Fallback on layout 'us' if a keymap cannot be created for the provided `XKB_DEFAULT_LAYOUT`. If keymap still cannot be created, exit with a helpful message instead of a segv crash. - Reload cursor theme and size on reconfigure. This gives instant feedback, but only works for server side cursors or clients using the cursor-shape protocol. Written-by: @spl237 and @Consolatis. #1587 #1619 - Fix a number of surface-focus related short-comings: - Handle cursor-button-press on layer-shell subsurfaces and fix bug in `get_cursor_context()` which resulted in layer-surfaces not being detected correctly. PR #1594 - Overhaul the logic for giving keyboard focus to layer-shell clients. PR #1599 Issue #1653 - Fix move/resize bug manifesting itself on touchpad taps with `<tapAndDrag>` disabled because libinput sends button press & release signals so quickly that `interactive_finish()` is never called. Written-by: @tokyo4j - Include always-on-top windows in window-switcher. - Make resize flicker free again when running labwc nested (it was a regression caused by wlroots 0.17). - Clean up dbus and systemd activation environments on exit - Fix `view_get_adjacent_output()` bug resulting in often returning an incorrect output when using more than two outputs. Issue #1582 Changed - Support press-move-release when interacting with the labwc root-menu. #1750 - In theme settings, mark color definitions in the format `#rrggbb aaa` as deprecated (still supported, but will removed in some future release) in favor of the more commonly used `#rrggbbaa`. - If your `rc.xml` contains a keybind to show menu "client-menu", it will be launched at pointer rather than the top-left part of the window. To keep the old behaviour, redefine it as follows: ```xml <keybind key="A-Space"> <action name="ShowMenu" menu="client-menu" atCursor="No"/> </keybind> ``` - Change action `MoveToOutput` argument 'name' to 'output' (because 'name' is already used by the action itself). Issue #1589 ```xml <action name="MoveToOutput" output="HDMI-A-1"/> ``` - Do not deactivate window when giving keyboard focus to a non-view surface such as a popup or layer-shell surface. This matches Openbox behavior. - Treat Globally Active XWayland windows according to type to fix focus issues with IntelliJ IDEA and JDownloader 2. Issues: #1139 #1341 Also revert f6e3527 which allowed re-focus between Globally Active XWayland windows of the same PID. - Only update dbus and systemd activation environments when running on the DRM backend or by explicit request using environment variable `LABWC_UPDATE_ACTIVATION_ENV`.
-
-
0.7.159014e50 · ·
labwc 0.7.1 Added - Support libinput option sendEventsMode to allow enabling/disabling devices. Co-Authored-By: @Sachin-Bhat ```xml <libinput> <device> <sendEventsMode>yes|no|disabledOnExternalMouse</sendEventsMode> </device> </libinput> ``` - Add click method libinput option. Written-by: @datMaffin ```xml <libinput> <device> <clickMethod>none|buttonAreas|clickfinger</clickMethod> </device> </libinput> ``` - Add `data/labwc.svg` & `data/labwc-symbolic.svg`, and specify icon name in labwc.desktop to enable Display Managers to show an icons for labwc. - Expose output configuration test to clients. For example, this enables `wlr-randr --dryrun` - Add window-edge resistance for interactive moves/resizes and support negative strengths to indicate attractive snapping. Written-by: @ahesford ```xml <resistance> <screenEdgeStrength>-20</screenEdgeStrength> <windowEdgeStrength>-20</windowEdgeStrength> </resistance> ``` - Set keyboard layout on reconfigure. Issue #1407 - Reset keyboard-layout group (index) for each window on reconfigure if the keymap has changed. - Support merging multiple config files with the --merge-config command line option. Issue #1406 - Add config option to map touch events to a named output (display). Optionally, make this only apply to specific named devices. Written-by: @jp7677 ```xml <touch mapToOutput=""/> <touch deviceName="" mapToOutput=""/> ``` - Add tablet support including: - Mapping of tablet to output (display) - Emulation of cursor movement and button press/release - Configuration of area and rotation Written-by: @jp7677 @Consolatis ```xml <tablet mapToOutput="HDMI-A-1" rotate="90"> <area top="0.0" left="0.0" width="0.0" height="0.0" /> <map button="Tip" to="Left" /> <map button="Stylus" to="Right" /> <map button="Stylus2" to="Middle" /> </tablet> ``` - Add tearing support. #1390. Written-by: @Ph42oN @ahesford - Add configuration support for mouse buttons `Side`, `Extra`, `Forward`, `Back` and `Task`. Written-by: @jp7677 - config: allow `<libinput><device>` without category attribute to define a `default` profile because it is more user-friendly and intuitive. - Add a configuration option to enable adaptive sync only when an application is in fullscreen mode. Written-by: @Ph42oN - Add `touchpad` libinput device type to increase configuration flexibility, for example allowing `naturalScroll` on touchpads, but not on regular pointer devices such as mice. Written-by: @jmbaur - Add actions: - `AutoPlace` (by @ahesford) - `MoveToOutput`, `FitToOutput` (by @jp7677) - `Shade`, `Unshade`, `ToggleShade` (by @ahesford @Consolatis) - Add config option `<placement><policy>` with supported values `center`, `cursor` and `automatic`. The latter minimizes overlap with other windows already on screen and is similar to Openbox's smart window placement. The placement policies honour `<core><gap>`. Written-by: @ahesford #1312 ```xml <placement> <policy>center|automatic|cursor</policy> </placement> ``` Fixed - Delay popup-unconstrain until after first commit in response to a changed wlroots 0.17 interface and to get rid of the error message below. Issue #1372 [types/xdg_shell/wlr_xdg_surface.c:169] A configure is scheduled for an uninitialized xdg_surface - Notify clients about configuration errors when changing output settings. Issue #1528. - Fix output configuration bug causing compositor crash when refresh rate is zero. Issue #1458 - Fix disappearing cursor bug on view destruction. Issue #1393 - Use used specified config-file (using -c command line option) on reconfigure. - Assign outputs to new views on surface creation instead of mapping, and notify the client of the preferred output scale when doing so. This fixes an issue with foot: https://codeberg.org/dnkl/foot/issues/1579 Written-by: @ahesford - Cancel key repeat on vt change to fix crash on VT change on FreeBSD. Issue #1424 - Fix crash when a minimized fullscreen window closes. Written-by: @bi4k8 - Execute menu actions after closing menus so that menu entries can issue `wtype` commands to the surface with keyboard-focus. Issue #1366 - Try to honor original window geometry on layout changes. - Fix virtual keyboard bug experienced with `wlrctl keyboard type xyz`. Do not process virtual keyboard keycodes (just the keysyms). Issue #1367 - Sync xdg-shell client `view->pending` when applying geometry to fix issue caused by applications choosing not respond to pending resize requests either by ignoring them or substituting alternative sizes (for example, when mpv constrains resizes to keep its aspect ratio fixed). Written-by: @ahesford Changed - Make `MoveToCursor` honour `<core><gap>`. Issue #1494 - Add `Roll Up/Down` client-menu entry for `ToggleShade` - When a Wayland-native window is snapped to a screen edges or user-defined region, labwc will notify the application that it is "tiled", allowing the application to better adapt its rendering to constrained layouts. Windows with client-side decorations may respond to these notices by squaring off corners and, in some cases, disabling resize abilities. This can be disabled with: ```xml <snapping> <notifyClient>never</notifyClient> </snapping> ``` or limited to only edge-snapped or only region-snapped windows. See the labwc-config(5) manual page for more information. - When a window is dragged from a snapped position (either a screen edge or a user-defined region), the snapped state is now discarded as soon as the dragging begins. This means that dragging from a snapped position to a maximized state (with the `topMaximize` option enabled) and then un-maxmimizing the window will restore the window to its size and position *before* it was snapped. In previous releases, un-maximizing would restore the window to its snapped state. To preserve the snapped state of a window when maximized, use the Maximize window button or the `ToggleMaximize` action. - The new windowEdgeStrength setting makes windows resist interactive moves and resizes across the edges of other windows. This can be disabled with: ```xml <resistance> <windowEdgeStrength>0</windowEdgeStrength> </resistance> ``` - Run menu actions on button release intead of press. - Constrain window size to that of usable area when an application is started. Issue #1399 - Support showing the full `app_id` in the window switcher. Users with a custom `windowSwitcher` configuration should use the `trimmed_identifier` field label to preserve existing behavior; the `identifier` field now refers to the full `app_id`. Consult the labwc-config(5) manual page for more details. Issue #1309
-