Tags: labwc/labwc
Tags
labwc 0.8.1 The most noteworthy additions in this release are: 1. Titlebar window icons and layout configuration 2. Support for the cosmic-workspace protocol and the openbox inspired client-list-combined-menu for a better user experience with workspaces. Notes to package maintainers: - The SSD titlebar window icon support requires [libsfdo] to be added as a (build and run-time) dependency or statically linked. If this is not wanted, add `-Dicon=disabled` to the `meson setup` command in the build script for the next release. - PRs [#1716] and [#2205] add labwc xdg-portal configuration, modify `labwc.desktop` and amend `XDG_CURRENT_DESKTOP` which should enable better out-of-the-box support for xdg-desktop-portal, but if you already ship a custom setup for this or have different requirements, please review this change. [libsfdo]: https://gitlab.freedesktop.org/vyivel/libsfdo Added - Support dmabuf feedback [#2234] [#1278] - Add initial implementation of cosmic-workspace-unstable-v1 [#2030] - Optionally support SSD titlebar window icons. When an icon file is not found or could not be loaded, the window menu icon is shown as before. The icon theme can be selected with `<theme><icon>` [#2128] - Add actions `ToggleSnapToEdge` and `ToggleSnapToRegion`. These behave like `SnapToEdge` and `SnapToRegion`, except that they untile the window when already being tiled to the given region or direction. Written-by: @jp7677 and @tokyo4j [#2154] - Add action `UnSnap`. This behaves like `ToggleSnapToEdge/Region` but unconditionally. Written-by: @jp7677 and @tokyo4j [#2154] - Handle xdg-shell `show_window_menu` requests [#2167] - Support the openbox style menus listed below. Written-by: @droc12345 1. `client-list-combined-menu` shows windows across all workspaces. This can be used with a mouse/key bind using: `<action name="ShowMenu" menu="client-list-combined-menu"/>` [#2101] 2. `client-send-to` shows all workspaces that the current window can be sent to. This can additional be used within a client menu using: `<menu id="client-send-to-menu" label="Send to Workspace..." />` [#2152] - Add theme option for titlebar padding and button spacing [#2189] ``` window.button.height: 26 window.titlebar.padding.width: 0 window.titlebar.padding.height: 0 window.button.spacing: 0 ``` - Set titlebar height based on the maximum height of any of the objects within it, rather than just taking the font height into account [#2152] - Add theme option for setting button hover effect corner radius [#2127] [#2231] ``` window.button.hover.bg.corner-radius: 0 ``` - Add position arguments for menus. Written-by: @droc12345 [#2102] ```xml <action name="ShowMenu"> <menu>root-menu</menu> <position> <x>0</x> <y>0</y> </position> </action> ``` - Allow interactive window movement when horizontally or vertically maximized and add associated config option `<resistance><unMaximizeThreshold>` [#2052] - Add optional Shade (shade.xbm) and AllDesktops (desk.xbm) buttons and theme options: ``` window.active.button.desk.unpressed.image.color window.inactive.button.desk.unpressed.image.color window.active.button.shade.unpressed.image.color window.inactive.button.shade.unpressed.image.color ``` - Make action `FocusOutput` behave like `MoveToOutput` by adding direction and wrap arguments. Written-by: @orfeasxyz [#2100] - Add config option for titlebar layout. Written-by: @xi [#2088] [#2150] ```xml <titlebar> <layout>icon:iconify,max,close</layout> <showTitle>yes|no</showTitle> </titlebar> ``` - Add `Oblique` option to `<theme><font><style>`. Written-by: @droc12345 [#2097] - Support menu titles defined by `<separator label="">`. - Add the theme option `menu.title.bg.color: #589bda` - Add theme options `menu.title.text.color` and `menu.title.text.justify`. Written-by: @droc12345 [#2097] - Add font place MenuHeader: `<font place="MenuHeader">`. Written-by: @droc12345 [#2097] - Add actions `EnableTabletMouseEmulation` and `DisableTabletMouseEmulation`. Written-by: @jp7677 [#2091] - Set 'labwc' as `app_id` and `title` for nested outputs [#2055] Fixed - Fix rare NULL-dereference when using cursor constraints [#2250] - Fix issue where tablet/touchscreen button events sometimes do not take effect on applications immediately [#2244] - Fix button release events sometimes not being sent [#2226] - Fix xdg-shell popups appearing on wrong output with some Qt themes. [#2224] - Take into account xdg-shell minimum window size for resizing. This is relevant when using `<resize drawContents="no">` [#2221] - Fix rounded hover effect on titlebar buttons when the window is tiled or maximized [#2207] - Fix button scaling issue [#2225] - Add portals.conf file, amend `labwc.desktop` and modify `XDG_CURRENT_DESKTOP` for better out-of-the-box xdg-desktop-portal support. This helps with for example screensharing. Written-by: @rcalixte @jp7677 [#1503] [#1716] - Disable the Inhibit D-BUS interface in xdg-portals configuration to fix an issue with some clients (like Firefox) ignoring the idle-inhibit protocol. Written-by: @jp7677 [#2205] - Prevent `Drag` mousebinds from running without button press [#2196] - Handle slow un-maximize with empty natural geometry better [#2191] - Fix de-synced SSD when shrinking Thunderbird xdg-shell window [#2190] - Fix xdg-shell out-of-sync configure state when clients time out Written-by: @cillian64 [#2174] - Fix small flicker when client initially submits a window size smaller than the minimum value [#2166] - Allow server-side decoration to be smaller than minimal size by hiding buttons [#2116] - Fix incorrect cursor shape on titlebar corner without buttons [#2105] - Fix delayed pipe menu response on item destroy [#2094] - Destroy xdg-shell foreign toplevel handle on unmap [#2075] - Sync XWayland foreign-toplevel and associated outputs on re-map [#2075] Changed - Theme options `padding.height` and `titlebar.height` have been removed to minimize breaking changes with the visual appearance of the titlebar when using openbox themes. As a result, and depending on your configuration, the titlebar height may change by a small number of pixels [#2189] - Move input config `<scrollFactor>` to `<libinput>` section to allow per-device configuration of scroll factor (e.g. setting different scroll factors for mice and touchpads). [#2057]
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
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"/>`.
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: #60 window.inactive.shadow.color: #40 ``` - 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`.
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
labwc 0.7.0 The main effort in this release has gone into porting labwc to wlroots 0.17 and tidying up regressions. Nonetheless, it contains a significant number of additions and fixes as described below. Should bug fixes be required against `0.6.6` (built with wlroots `0.16`), a `0.6` branch will be created. Added - Support titlebar hover icons. Written-by: @spl237 - Add theme options osd.workspace-switcher.boxes.{width,height} Written-by: @kyak - Add actions `VirtualOutputAdd` and `VirtualOutputRemove` to control virtual outputs. Written-by: @kyak (#1287) - Teach MoveToEdge to move windows to adjacent outputs. Written-by: @ahesford - Implement `<font place="InactiveWindow">`. Written-by: @ludg1e (#1292) - Implement cursor-shape-v1 protocol to allow Wayland clients to request a buffer for a cursor shape from a compositor. Written-by: @heroin-moose - Implement fractional-scale-v1 protocol to allow Wayland clients to properly scale on outputs with fractional scale factor. Written-by: @heroin-moose - Add ResizeTo action (#1261) - Allow going backwards in window-switcher OSD by using arrow-up or arrow-left. Written-by: @jp7677 - Add `ToggleOmnipresent` action and add an "Always on Visible Workspace" entry for it in the client-menu under the Workspaces submenu. Written-by: @bnason - Account for space taken up by XWayland clients with `_NET_WM_STRUT_PARTIAL` property in the `usable_area` calculation. This increases inter-operability with X11 desktop componenets. - Set XWayland's `_NET_WORKAREA` property based on usable area. XWayland clients use the `_NET_WORKAREA` root window property to determine how much of the screen is not covered by panels/docks. The property is used for example by Qt to determine areas of the screen that popup menus should not overlap. Fixed - Fix xwayland.c null pointer dereference causing crash with CLions. (#1352) - Fix issue with XWayland surfaces completely offscreen not generating commit events and therefore preventing them from moving onscreen. - Do not de-active windows when layer-shell client takes keyboard focus, to fix sfwbar minimize action. (#1342) - Move layer-shell popups from the background layer to the top layer to render them above normal windows. Previously this was only done for the bottom layer. In support of Raspberry Pi's `pcmanfm --desktop`. (#1293) - Calculate `usable_area` before positioning clients to ensure it is correct before non exclusive-zone layer-shell clients are positioned or resized. (#1285) - Prevent overriding XWayland maximized/fullscreen/tiled geometry to fix an issue where some XWayland views (example: xfce4-terminal) do not end up with exactly the correct geometry when tiled. Changed - Treat XWayland panel windows as if fixedPosition rule is set - Use the GTK3 notebook header color as the default active title color (small change from `#dddad6` to `#e1dedb`). Written-by: @dimkr
labwc 0.6.6 Added - Add `fixedPosition` window-rule property to avoid re-positioning windows on reserved-output-space changes (determined by *<margin>* settings or exclusive layer-shell clients) and to disallow interactive move or resize, for example by alt+press. - Add `Unfocus` action to enable unfocusing windows on desktop click. Issue: #1230 - Add config option `<keyboard layoutScope="window">` to use per-window keyboard layout. Issue #1076 - Support separate horizontal and vertical maximize by adding a `direction` option to actions Maximize and ToggleMaximize. - Add actions GrowToEdge and ShrinkToEdge. Written-by: @digint - Add `snapWindows` option to MoveToEdge action. Written-by: @digint - Add MoveToCursor action. Written-by: @Arnaudv6 - Add config option `<keyboard><numlock>` to enable Num Lock on startup. - Support Meta (M), Hyper (H), Mod1, Mod3, Mod4 and Mod5 modifiers in keybind definitions. Fixes: #1061 - Add themerc 'titlebar.height' option. Written-by: @mozlima - Add If and ForEach actions. Written-by: @Consus - Allow referencing the current workspace in actions, for example: `<action name="SendToDesktop" to="current"/>` Fixed - Do not reset XWayland window SSD on unminimize - Keep XWayland stacking order in sync when switching workspaces - Update top-layer visiblity on workspace-switch in order to show top-layer layer-shell clients correctly when there is a window in fullscreen mode on another workspace. Issues: #1040 #1158 - Make interactive window snapping with mouse more intuitive in multi-output setups. Written-by: @tokyo4j - Try to handle missing `set_window_geometry` with Qt apps which occasionally fail to call `set_window_geometry` after a configure request, but correctly update the actual surface extent. Issue: #1194 - Update XWayland stacking order when moving a window to the front/back. - Prevent switching workspaces for always-on-bottom windows. Fixes: #1170 - Fix invisible cursor after wlopm --off && wlopm --on. - When a session is locked using 'session-lock' protocol, reconfigure for output layout changes to avoid incorrect positioning - Account for window base size in resize indicator so that the displayed size exactly matches the terminal grid, for example 80x25. - The following focus related issues: - Allow re-focusing xwayland-unmanaged surfaces in response to pointer action (click or movement if focus-follow-mouse is enabled). This enables clients such as dmenu, rofi and jgmenu to regain keyboard-focus if it was lost to another client. - Fix code paths which could lead to a lock-screen losing focus, making the session impossible to unlock or another surface to gain focus thus breaching the session lock. - Only focus topmost view on unmap if unmapped view was focused. - Fix `xwayland_surface->data` bug relating to unmanaged surfaces. - Fix layer subsurface focus bug to make waybar's minimize-raise work. Fixes: #1131 - Ignore focus change to unmanaged surface belonging to same PID to fix an issue with menus immediately closing in some X11 apps. - Avoid focusing xwayland views that do not want focus using the ICCCM "Globally Active" input model. - Allow re-focus between "globally active" XWayland views of the same PID. - Assume that views that want decorations also want focus - The following keyboard and keybind related issues: - Send pressed keys correctly when focusing new surface. - Refactor handling of pressed/bound keys to send (to client) the release events for any pressed key that was not part of a keybind, typically because an unrelated non-modifier key was pressed before and held during a keybind invocation. Fixes #1091 #1245 - Fix keyboard release event bug after session lock. Fixes: #1114 - Raise xdg and xwayland sub-views correctly relative to other sub-views, by letting the relative stacking order between them change. - Honor initially maximized requests for XWayland views via `_NET_WM_STATE`. - For initially maximized XWayland views, set the stored natural geometry to be output-centered. - Fix regions rounding error sometimes resulting in incorrect gaps between regions. Changed - Move floating windows in response to changes in reserved output space (determined by *<margin>* settings or exclusive layer-shell clients such as panels). Users with window-rules for panels and/or desktops should add the `fixedPosition` property to avoid regression. Issue: #1235 - Restore `SIGPIPE` default handler before exec. Fixes: #1209 - With the introduction of directional Maximize, right-click on the maximize button now toggles horizontal maximize, while middle-click toggles vertical maximize. - Make MoveToEdge snap to the next window edge by default rather than just the screen edge. - Comment out variables in `docs/environment` to avoid users using the file without editing it and ending up with unwanted settings. Fixes: #1011 - Set `_JAVA_AWT_WM_NONREPARENTING=1` unless already set. - This release has seen significant refactoring and minor improvements with respect to window and surface focus (particular thanks to @jlindgren). This work has helped uncover and fix some hard-to-find bugs. We don't believe that there are any regressions, but can't say for sure. - Set Num Lock to enabled by default on start up - Allow switching VT when locked - Use `fnmatch()` for pattern matching instead of `g_pattern_match_simple()` because it is a POSIX-compliant function which has a glob(7) manual page for reference. - Title context is used instead of TitleBar for the default client-menu on click. This means that if a button is right-clicked, the client-menu will not appear anymore. - Always switch to the workspace containing the view being focused.
labwc 0.6.5 Added - Support png and svg titlebar buttons - Support on/off boolean configuration values (in addition to true, false, yes and no). Written-by: @redtide - keybinds - Allow non-english based keybinds - Make keybind agnostic to keyboard layout. Fixes #1069 - Add optional layoutDependent argument to only trigger if the configured key exists in the currently active keyboard layout. `<keybind key="" layoutDependent="">` - Fallback on raw keysyms (as if there were no pressed modifier) for bindings which do not match against translated keysyms. This allows users to define keybinds such as "S-1" rather than "S-exclam". It also supports "W-S-Tab". Fixes #163 #365 #992 - window-rules: add ignoreFocusRequest property - config: support libinput `<tapAndDrag>` and `<dragLock>`. Written-by: @tokyo4j - Handle keyboard input for menus. Fixes #1058 - Server-side decoration: - Make corners square on maximize - Disable border on maximize. Fixes #1044 - Add window resize indicator and associated `<resize><popupShow>` config option - Add `<theme><keepBorder>` to give `ToggleDecoration` three states: (1) disable titlebar; (2) disable whole SSD; and (3) enables whole SSD When the keepBorder action is disabled, the old two-state behavior is restored. Fixes #813 - Minimize whole window hierarchy from top to bottom regardless of which window requested the minimize. For example, if an 'About' or 'Open File' dialog is minimized, its toplevel is minimized also, and vice versa. - Move window's stacking order with dialogs so that other window cannot be positioned between them. Also position xdg popups above their parent windows.This is consistent with Gtk3 and Qt5. Fixes #823 Fixed - Clarify in labwc-config(5) that keyboard modifiers can be used for mousebinds. Fixes #1075 - Ensure interactive move/resize ends correctly for CSD clients. Fixes #1053 - Fix invalid value in `<accelProfile>` falling back as "flat" - Fix touch bug to avoid jumping when a touch point moves off of a surface Written-by: @bi4k8 - Prevent crash with theme setting `osd.window-switcher.width: 0`. Fixes #1050 - Cancel cursor popup grab on mouse-press outside client itself, for example on any part of the server side decoration or the desktop. Fixes #949 - Prevent cursor press on layer-subsurface from cancelling popup grab Fixes #1030 - xwayland: fix client request-unmap bug relating to foreign-toplevel handle - xwayland: fix race condition resulting in map view without surface - Limit SSD corner radius to the height of the titlebar - Fix rounded-corner bug producing weird artefacts when very large border thickness is used. Fixes #988 - Ensure `string_prop()` handlers deal with destroying views. Fixes #1082 - Fix SSD thickness calculation bug relating to titlebar. Fixes #1083 - common/buf.c: - Do not expand `$()` in `buf_expand_shell_variables()` - Do not use memcpy for overlapping regions Changed - Use `identifier` for window-switcher field rather than `app_id` to be consistent with window rules. <windowSwitcher> <fields> <field content="identifier" width="25%"/> </fields> </windowSwithcer> - Do not expand environment variables in `Exec` action `<command>` argument (but still resolve tilde).
labwc 0.6.4 Added - Add support for `ext_idle_notify` protocol. - Window-switcher: #879 #969 - Set item-height based on font-height - Add theme option: - osd.window-switcher.width - osd.window-switcher.padding - osd.window-switcher.item.padding.x - osd.window-switcher.item.padding.y - osd.window-switcher.item.active.border.width - Actions: - Add `MoveTo`, `ToggleAlwaysOnBottom`. - Add `MoveRelative`, `ResizeRelative`. Written-by: @Ph42oN - Add option `wrap` for `GoToDesktop` and `SendToDesktop` - Add config options `<margin>` to override usable area for panels/docks which do not support layer-shell protocol. - Add `number` attribute to `<desktops>` to simplify configuration. Written-by: @Sachin-Bhat - Window rules: #787 #933 - Add properties: `skipTaskbar` and `skipWindowSwitcher` - Add criteria `title` and `matchOnce` Fixed - Support XML CDATA for `<menu><item><action><command>` in order to provide backward compatibility with obmenu-generator #972 - Call `wlr_xwayland_surface_set_minimized()` on xwayland window (un)minimize to fix blank surface after minimizing fullscreen Steam windows. #958 - Fix focus at the end of drag-and-drop operation respecting `<focus><followMouse>` if enabled. #939 #976 - Render xdg-popups above always-on-top layer. - Do not render On-Screen-Displays on disabled outputs. #914 Changed - Make `ToggleKeybinds` applicable only to the window that has keyboard focus when the action is executed.
PreviousNext