labwc/NEWS.md

1932 lines
83 KiB
Markdown
Raw Normal View History

# Introduction
2021-04-15 21:31:09 +01:00
This file contains significant user-visible changes for each version.
For full changelog, use `git log`.
2021-04-15 21:31:09 +01:00
The format is based on [Keep a Changelog]
2022-02-18 21:54:07 +00:00
# Summary of Releases
| Date | All Changes | wlroots version | lines-of-code |
|------------|---------------|-----------------|---------------|
2024-12-04 21:10:05 +00:00
| 2024-12-13 | [0.8.2] | 0.18.2 | 26298 |
2024-10-21 21:10:08 +01:00
| 2024-10-25 | [0.8.1] | 0.18.1 | 25473 |
2024-08-15 21:16:48 +01:00
| 2024-08-16 | [0.8.0] | 0.18.0 | 23320 |
2024-07-19 21:59:13 +01:00
| 2024-06-19 | [0.7.4] | 0.17.4 | 22746 |
2024-07-08 20:09:00 +01:00
| 2024-06-12 | [0.7.3] | 0.17.4 | 22731 |
2024-05-05 22:06:36 +01:00
| 2024-05-10 | [0.7.2] | 0.17.3 | 21368 |
2024-02-02 20:55:16 +00:00
| 2024-03-01 | [0.7.1] | 0.17.1 | 18624 |
2023-12-19 21:45:40 +00:00
| 2023-12-22 | [0.7.0] | 0.17.1 | 16576 |
2023-11-25 21:07:20 +00:00
| 2023-11-25 | [0.6.6] | 0.16.2 | 15796 |
2023-09-20 21:07:56 +01:00
| 2023-09-23 | [0.6.5] | 0.16.2 | 14809 |
2023-06-26 17:09:28 +01:00
| 2023-07-14 | [0.6.4] | 0.16.2 | 13675 |
2023-05-06 12:26:38 +01:00
| 2023-05-08 | [0.6.3] | 0.16.2 | 13050 |
2023-03-11 19:58:42 +00:00
| 2023-03-20 | [0.6.2] | 0.16.2 | 12157 |
2023-01-25 22:01:50 +00:00
| 2023-01-29 | [0.6.1] | 0.16.1 | 11828 |
2022-11-17 20:51:38 +00:00
| 2022-11-17 | [0.6.0] | 0.16.0 | 10830 |
2022-07-15 20:05:43 +01:00
| 2022-07-15 | [0.5.3] | 0.15.1 | 9216 |
2022-05-17 20:39:49 +01:00
| 2022-05-17 | [0.5.2] | 0.15.1 | 8829 |
2022-04-08 22:06:51 +01:00
| 2022-04-08 | [0.5.1] | 0.15.1 | 8829 |
| 2022-02-18 | [0.5.0] | 0.15.1 | 8766 |
| 2021-12-31 | [0.4.0] | 0.15.0 | 8159 |
| 2021-06-28 | [0.3.0] | 0.14.0 | 5051 |
| 2021-04-15 | [0.2.0] | 0.13.0 | 5011 |
| 2021-03-05 | [0.1.0] | 0.12.0 | 4627 |
2024-12-04 21:10:05 +00:00
## [0.8.2]
2024-11-11 20:51:37 +00:00
2024-12-01 20:04:23 +00:00
This is a shorter release cycle compared with the usual 10-week one because it
contains a significant number of stability and cleanliness fixes which warrant
packaging.
We do not normally describe behind-the-scenes work in this log, but will mention
two here as an exception:
1. A clean run with gcc/clang memory leak check has been achieved. Thanks to
@tokyo4j for fantastic work with this [#2331]
2. A buffer-sharing mechanism has been merged to improve both processor and
memory usage in the long term. Credits to @tokyo4j and @Consolatis for this
one. [#2363]
2024-11-11 20:51:37 +00:00
Notes to package maintainers:
- The wlroots dependency has been increased to `0.18.1` to avoid a crash when
using ext-foreign-toplevel-list protocol.
2024-12-01 20:04:23 +00:00
- It is also advisable to use `0.18.2` as soon as possible to fix a crash
triggered when the xwayland server closes during a drag-and-drop with an
XWayland client.
2024-11-11 20:51:37 +00:00
### Added
2024-12-04 21:10:05 +00:00
- Add support for xdg-foreign-v1 and xdg-foreign-v2 protocols [#2400]
2024-12-01 20:04:23 +00:00
- Add window rule to send release-events of modifiers which are part of
keybinds. This supports clients (like blender) that want to see modifier
release events even when they are part of a keybinds. [#2377]
```xml
<windowRules>
<windowRule identifier="blender" wantAbsorbedModifierReleaseEvents="yes"/>
</windowRules>
```
- Support menu borders [#2376]
```
menu.border.width: 1
menu.border.color: #aaaaaa
```
- Add conversion specifier `%n` to the window-switcher `<field>` config option
to show desktop entry name in the window-switcher. Written-by: @jp7677 [#2360]
```xml
<windowSwitcher>
<fields>
<field content="custom" format="%n" width="25%"/>
<field content="title" width="75%"/>
</fields>
</windowSwitcher>
```
2024-11-11 20:51:37 +00:00
- Add hold gestures. @jp7677 [#2326]
2024-12-01 20:04:23 +00:00
- Support ext-foreign-toplevel-list protocol [#2072]
2024-11-11 20:51:37 +00:00
- Support additional window rule conditions including `shaded`, `maximized`,
`iconified`, `focused`, `omnipresent`, `desktop`, `tiled` and `tiled_region`.
This also works for `If` and `ForEach` queries. @orfeasxyz @ahesford [#2245]
- Add mouse emulation for touch devices. @spl237 [#2277]
- Improve handling of touch events. @jp7677 [#2273]
This includes:
- Hide the cursor on touch input and keep the cursur invisible until
pointer or tablet input
- Close xdg-popups on touch down
- Notify idle-manager on touch down/up
- Clear pointer focus on touch input to avoid pointer focus interfering
with touch input, like showing hover effect on unexpected locations
- Move touch only with one touch point - in other words do not move the
cursor when more than one finger is down
- Warp cursor to touch coordinates for consistent behaviour with
non-touch capable surfaces including the desktop
- Set environment variable `LABWC_VER` with current compositor version.
@01micko [#2257]
- Broadcast keyboard modifiers to all clients rather than just the one with
keyboard focus. [#2274]
This enables:
- Clients such as panels to display the current keyboard layout without
introducing new wayland protocols or other IPC.
- Unfocused xdg-shell clients to understand button press with keyboard
modifiers for example Ctrl+click.
### Fixed
2024-12-04 21:10:05 +00:00
- Fix crash caused by `rc.xml` `<touch>` options being specified as
elements rather than attributes. [#2412]
- Fix `ShowMenu` action position with x/y arguments in multi-monitor setup.
[#2409]
- Block privileged protocols for sandboxed clients [#2398]
2024-12-01 20:04:23 +00:00
- Fix incorrect focus behaviour when switching between workspaces with
omnipresent windows open [#2335]
- Fall back to loading icon based on app-id when `Icon` defined in .desktop file
can not be loaded [#2361]
- Fix regression introduced with `0.8.1` to allow negative values for theme
option `menu.overlap` [#2356]
- Ensure output is usable before setting adaptive sync [#2337] [#2338]
- Fix `menu.title.text.justify: right` not working [#2336]
- Keep focus on omnipresent windows when switching workspaces [#2329]
2024-11-11 20:51:37 +00:00
- Skip painting output when session is not active. @enometh @Madhu [#2249]
- Ignore variable assignments > 1 KiB in environment files to guard against
recursive constructs like FOO=$FOO:bar which would grow on each reconfigure.
[#2325]
2024-12-01 20:04:23 +00:00
- Improve support for non-compliant .desktop files by matching partial strings
to handle for example app-id="gimp-2.10" with file "gimp.desktop". @spl237
[#2266]
2024-11-20 20:20:55 +01:00
- Correctly center menu opened with `<position {x,y}="center">` @tokyo4j [#2319]
2024-11-11 20:51:37 +00:00
- Allow pointer speed of -1.0. @spl237 [#2321]
- Fix off-by-one bug in `buf_add_char()` [#2313]
- Fix menu separator-line padding regression introduced in `0.8.1`. @domo141
[#2291]
- Avoid permanent disabling of tearing due to rejected commits caused by the
cursor plane not allowing async page flips which causes tearing page flips
to be rejected if the cursor is moved. @RicArch97 [#2295]
- Use `MenuHeader` font height in separators with labels. @domo141 [#2276]
2024-12-01 20:04:23 +00:00
### Changed
2024-12-04 21:10:05 +00:00
- Set xwaylandPersistence default value to `yes` when compiled with wlroots
<0.18.2. This prevents a bug which has the potential to crash the compositor
when performing a drag-and-drop action at the same time as the XWayland server
is shutting down. [#2371] [#2414] [#2420]
2024-12-01 20:04:23 +00:00
- Set default window placement policy to `cascade` instead of `center` [#2345]
```xml
<placement>
<policy>cascade</policy>
</placement>
```
- Set default values of theme option `window.*.border.color` to `#aaaaaa`. This
makes the colors of window borders and titlebar different, but will let
`menu.border.color` inherit `window.active.border.color` just like Openbox
does, without making the menu borders around a selected menu item invisible.
[#2376]
- Invert the y-offset of submenus applied by `menu.overlap.y` to (i) follow
Openbox's behavior and (ii) behave as already described in our own
documentation. [#2380]
2024-10-21 21:10:08 +01:00
## [0.8.1]
2024-09-12 21:14:10 +01:00
2024-09-27 21:40:30 +01:00
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:
2024-10-21 21:10:08 +01:00
- 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
2024-09-27 21:40:30 +01:00
2024-09-12 21:14:10 +01:00
### Added
2024-10-21 21:10:08 +01:00
- Support dmabuf feedback [#2234] [#1278]
- Add initial implementation of cosmic-workspace-unstable-v1 [#2030]
2024-09-27 21:40:30 +01:00
- 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
2024-10-21 21:10:08 +01:00
theme can be selected with `<theme><icon>` [#2128]
2024-09-27 21:40:30 +01:00
- 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.
2024-10-21 21:10:08 +01:00
Written-by: @jp7677 and @tokyo4j [#2154]
2024-09-27 21:40:30 +01:00
- Add action `UnSnap`. This behaves like `ToggleSnapToEdge/Region` but
2024-10-21 21:10:08 +01:00
unconditionally. Written-by: @jp7677 and @tokyo4j [#2154]
- Handle xdg-shell `show_window_menu` requests [#2167]
2024-09-27 21:40:30 +01:00
- 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:
2024-10-21 21:10:08 +01:00
`<action name="ShowMenu" menu="client-list-combined-menu"/>` [#2101]
2024-09-27 21:40:30 +01:00
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:
2024-10-21 21:10:08 +01:00
`<menu id="client-send-to-menu" label="Send to Workspace..." />` [#2152]
- Add theme option for titlebar padding and button spacing [#2189]
2024-09-27 21:40:30 +01:00
```
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
2024-10-21 21:10:08 +01:00
it, rather than just taking the font height into account [#2152]
- Add theme option for setting button hover effect corner radius [#2127] [#2231]
2024-09-12 21:14:10 +01:00
```
2024-09-27 21:40:30 +01:00
window.button.hover.bg.corner-radius: 0
2024-09-12 21:14:10 +01:00
```
2024-10-21 21:10:08 +01:00
- Add position arguments for menus. Written-by: @droc12345 [#2102]
2024-09-12 21:14:10 +01:00
2024-10-21 21:10:08 +01:00
```xml
2024-09-12 21:14:10 +01:00
<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
2024-10-21 21:10:08 +01:00
and add associated config option `<resistance><unMaximizeThreshold>` [#2052]
2024-09-12 21:14:10 +01:00
- 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
2024-10-21 21:10:08 +01:00
wrap arguments. Written-by: @orfeasxyz [#2100]
- Add config option for titlebar layout. Written-by: @xi [#2088] [#2150]
2024-09-27 21:40:30 +01:00
2024-10-21 21:10:08 +01:00
```xml
2024-09-27 21:40:30 +01:00
<titlebar>
<layout>icon:iconify,max,close</layout>
<showTitle>yes|no</showTitle>
</titlebar>
```
2024-10-21 21:10:08 +01:00
- Add `Oblique` option to `<theme><font><style>`. Written-by: @droc12345 [#2097]
2024-09-12 21:14:10 +01:00
- 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`.
2024-10-21 21:10:08 +01:00
Written-by: @droc12345 [#2097]
2024-09-12 21:14:10 +01:00
- Add font place MenuHeader: `<font place="MenuHeader">`.
2024-10-21 21:10:08 +01:00
Written-by: @droc12345 [#2097]
2024-09-12 21:14:10 +01:00
- Add actions `EnableTabletMouseEmulation` and `DisableTabletMouseEmulation`.
2024-10-21 21:10:08 +01:00
Written-by: @jp7677 [#2091]
- Set 'labwc' as `app_id` and `title` for nested outputs [#2055]
2024-09-12 21:14:10 +01:00
### Fixed
2024-10-21 21:10:08 +01:00
- 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]
2024-09-27 21:40:30 +01:00
- Take into account xdg-shell minimum window size for resizing. This is
2024-10-21 21:10:08 +01:00
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]
2024-09-27 21:40:30 +01:00
- 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
2024-10-21 21:10:08 +01:00
example screensharing. Written-by: @rcalixte @jp7677 [#1503] [#1716]
2024-09-27 21:40:30 +01:00
- Disable the Inhibit D-BUS interface in xdg-portals configuration to fix an
issue with some clients (like Firefox) ignoring the idle-inhibit protocol.
2024-10-21 21:10:08 +01:00
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]
2024-09-27 21:40:30 +01:00
- Fix xdg-shell out-of-sync configure state when clients time out
2024-10-21 21:10:08 +01:00
Written-by: @cillian64 [#2174]
2024-09-27 21:40:30 +01:00
- Fix small flicker when client initially submits a window size smaller than the
2024-10-21 21:10:08 +01:00
minimum value [#2166]
2024-09-12 21:14:10 +01:00
- Allow server-side decoration to be smaller than minimal size by hiding
2024-10-21 21:10:08 +01:00
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]
2024-09-12 21:14:10 +01:00
### Changed
2024-09-27 21:40:30 +01:00
- 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,
2024-10-21 21:10:08 +01:00
the titlebar height may change by a small number of pixels [#2189]
2024-09-12 21:14:10 +01:00
- Move input config `<scrollFactor>` to `<libinput>` section to allow
per-device configuration of scroll factor (e.g. setting different scroll
2024-10-21 21:10:08 +01:00
factors for mice and touchpads). [#2057]
2024-09-12 21:14:10 +01:00
2024-08-15 21:16:48 +01:00
## [0.8.0]
2024-08-07 21:01:30 +01:00
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.
2024-08-15 21:16:48 +01:00
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. [#2079]
2024-08-07 21:01:30 +01:00
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 [#1941]
2024-08-07 21:01:30 +01:00
- Optionally allow keybindings when session is locked, which for example can be
useful for volume settings. Written-by: @xi [#2041]
2024-08-07 21:01:30 +01:00
```xml
<keyboard><keybind key="" allowWhenLocked="">
```
- Add resistance when dragging tiled/maximized windows with config option
`<resistance><unSnapThreshold>`. [#2009] [#2056]
- Implement support for renderer loss recovery. Written-by: @kode54 [#1997]
- Support xinitrc scripts to configure XWayland server on launch. [#1963]
2024-08-07 21:01:30 +01:00
- Add theme option `window.button.width` to set window button size.
Written-by: @heroin-moose [#1965]
- Add `cascade` placement policy [#1890]
2024-08-07 21:01:30 +01:00
```xml
<placement>
<policy>cascade</policy>
<cascadeOffset x="40" y="30"/>
</placement>
```
- Support relative tablet motion. Written-by: @jp7677 [#1962]
2024-08-07 21:01:30 +01:00
```xml
<tabletTool motion="absolute|relative" relativeMotionSensitivity="1.0"/>
```
### Fixed
- Make tablet rotation follow output rotation. Written-by: @jp7677. [#2060]
- Fix error when launching windowed Chromium. [#2069]
- Fix empty `XKB_DEFAULT_LAYOUT` bug. [#2061]
- Take into account CSD borders when unconstraining XDG popups. [#2016]
2024-08-07 21:01:30 +01:00
- 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
2024-07-19 21:59:13 +01:00
## [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
2024-07-08 20:09:00 +01:00
## [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.
2024-06-09 21:56:27 +01:00
### Added
2024-07-08 20:09:00 +01:00
- 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
2024-06-09 21:56:27 +01:00
- 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
2024-07-08 20:09:00 +01:00
- Add support for `tablet-v2-manager`. Written-by: @jp7677 PR #1678 #1882
2024-06-09 21:56:27 +01:00
- 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
2024-07-08 20:09:00 +01:00
- 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
2024-06-09 21:56:27 +01:00
- 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
2024-07-08 20:09:00 +01:00
- Remove subprojects/seatd.wrap as no longer needed
2024-06-09 21:56:27 +01:00
- Action `MoveToCursor` is deprecated in favour of:
`<action name="AutoPlace" policy="cursor"/>`.
2024-05-05 22:06:36 +01:00
## [0.7.2]
2024-03-21 21:36:17 +00:00
2024-07-08 20:09:00 +01:00
This release shaped up to be 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.
2024-04-22 20:10:40 +01:00
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.
2024-03-21 21:36:17 +00:00
### Added
2024-05-05 22:06:36 +01:00
- 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
2024-04-22 20:10:40 +01:00
- 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
2024-05-05 22:06:36 +01:00
```xml
2024-04-22 20:10:40 +01:00
<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.
2024-04-22 20:10:40 +01:00
- 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
```
2024-03-21 21:36:17 +00:00
- 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.
2024-03-21 21:36:17 +00:00
- 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
2024-04-22 20:10:40 +01:00
always an output available to connect to. #1618
2024-03-21 21:36:17 +00:00
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
2024-05-05 22:06:36 +01:00
- 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
2024-04-22 20:10:40 +01:00
- 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.
2024-03-21 21:36:17 +00:00
- 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
2024-04-22 20:10:40 +01:00
cairo/pango. PR #1631 issue #1684
2024-03-21 21:36:17 +00:00
- 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.
2024-05-05 22:06:36 +01:00
- 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:
2024-03-21 21:36:17 +00:00
- 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.
2024-04-22 20:10:40 +01:00
PR #1599 Issue #1653
2024-03-21 21:36:17 +00:00
- 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
2024-05-05 22:06:36 +01:00
- Support press-move-release when interacting with the labwc root-menu. #1750
2024-04-22 20:10:40 +01:00
- 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`.
2024-03-21 21:36:17 +00:00
- 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`.
2023-12-28 22:22:54 +00:00
2024-02-02 20:55:16 +00:00
## [0.7.1]
2023-12-28 22:22:54 +00:00
### Added
2024-02-02 20:55:16 +00:00
- 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.
2023-12-28 22:22:54 +00:00
- 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
2024-01-26 17:17:16 +01:00
<resistance>
<screenEdgeStrength>-20</screenEdgeStrength>
<windowEdgeStrength>-20</windowEdgeStrength>
</resistance>
```
2023-12-28 22:22:54 +00:00
- 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
2024-01-26 17:17:16 +01:00
<touch mapToOutput=""/>
<touch deviceName="" mapToOutput=""/>
```
2023-12-28 22:22:54 +00:00
- Add tablet support including:
2024-01-26 17:17:16 +01:00
- Mapping of tablet to output (display)
- Emulation of cursor movement and button press/release
- Configuration of area and rotation
2023-12-28 22:22:54 +00:00
Written-by: @jp7677 @Consolatis
```xml
2024-01-26 17:17:16 +01:00
<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>
```
2023-12-28 22:22:54 +00:00
- 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:
2024-01-26 17:17:16 +01:00
- `AutoPlace` (by @ahesford)
- `MoveToOutput`, `FitToOutput` (by @jp7677)
- `Shade`, `Unshade`, `ToggleShade` (by @ahesford @Consolatis)
2023-12-28 22:22:54 +00:00
- Add config option `<placement><policy>` with supported values `center`,
2024-02-02 19:28:26 +00:00
`cursor` and `automatic`. The latter minimizes overlap with other windows
already on screen and is similar to Openbox's smart window placement.
2024-02-02 20:55:16 +00:00
The placement policies honour `<core><gap>`.
2023-12-28 22:22:54 +00:00
Written-by: @ahesford #1312
```xml
2024-01-26 17:17:16 +01:00
<placement>
<policy>center|automatic|cursor</policy>
</placement>
```
2023-12-28 22:22:54 +00:00
### Fixed
2024-02-02 20:55:16 +00:00
- 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.
2023-12-28 22:22:54 +00:00
- 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
2023-12-28 22:22:54 +00:00
### Changed
2024-02-02 20:55:16 +00:00
- 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
2024-03-08 21:59:20 +09:00
un-maximizing 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.
2023-12-28 22:22:54 +00:00
- The new windowEdgeStrength setting makes windows resist interactive moves and
resizes across the edges of other windows. This can be disabled with:
```xml
2024-01-26 17:17:16 +01:00
<resistance>
<windowEdgeStrength>0</windowEdgeStrength>
</resistance>
```
2023-12-28 22:22:54 +00:00
2024-03-08 21:59:20 +09:00
- Run menu actions on button release instead of press.
2023-12-28 22:22:54 +00:00
- 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
2023-12-28 22:22:54 +00:00
2023-12-19 21:45:40 +00:00
## [0.7.0] - 2023-12-22
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.
2023-12-28 22:22:54 +00:00
### Added
2023-12-19 21:45:40 +00:00
- 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
2024-03-08 21:59:20 +09:00
with X11 desktop components.
2023-12-19 21:45:40 +00:00
- 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.
2023-12-28 22:22:54 +00:00
### Fixed
2023-12-19 21:45:40 +00:00
2023-12-22 20:38:39 +01:00
- Fix xwayland.c null pointer dereference causing crash with JetBrains CLion.
(#1352)
2023-12-19 21:45:40 +00:00
- 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.
2023-12-28 22:22:54 +00:00
### Changed
2023-12-19 21:45:40 +00:00
- 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
2023-11-25 21:07:20 +00:00
## [0.6.6] - 2023-11-25
2023-11-01 21:43:12 +00:00
2023-11-12 21:32:21 +00:00
We do not normally call out contributions by core devs in the changelog,
but a special thanks goes to @jlindgren90 in this release for lots of work
2023-11-25 21:07:20 +00:00
relating to surface focus and keyboard issues, amongst others.
2023-11-12 21:32:21 +00:00
2023-11-01 21:43:12 +00:00
### Added
2023-11-12 21:32:21 +00:00
- 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
2023-11-01 21:43:12 +00:00
- 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:
```xml
2024-01-26 17:17:16 +01:00
<action name="SendToDesktop" to="current"/>
```
2023-11-01 21:43:12 +00:00
### Fixed
2023-11-25 21:07:20 +00:00
- Do not reset XWayland window SSD on unminimize
- Keep XWayland stacking order in sync when switching workspaces
2024-03-08 21:59:20 +09:00
- Update top-layer visibility on workspace-switch in order to show
2023-11-12 21:32:21 +00:00
top-layer layer-shell clients correctly when there is a window in
2023-11-25 21:07:20 +00:00
fullscreen mode on another workspace. Issues: #1040 #1158
2023-11-12 21:32:21 +00:00
- 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
2023-11-01 21:43:12 +00:00
- 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:
2023-11-12 21:32:21 +00:00
- 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.
2023-11-01 21:43:12 +00:00
- 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:
2023-11-12 21:32:21 +00:00
- 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
2023-11-25 21:07:20 +00:00
and held during a keybind invocation. Fixes #1091 #1245
2023-11-01 21:43:12 +00:00
- 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
2023-11-12 21:32:21 +00:00
- 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
2023-11-01 21:43:12 +00:00
- 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.
## [0.6.5] - 2023-09-23
2023-09-20 21:07:56 +01:00
### 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
2024-03-08 21:59:20 +09:00
- Fix rounded-corner bug producing weird artifacts when very large border
2023-09-20 21:07:56 +01:00
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.
```xml
2024-01-26 17:17:16 +01:00
<windowSwitcher>
<fields>
<field content="identifier" width="25%"/>
</fields>
</windowSwithcer>
```
2023-09-20 21:07:56 +01:00
- Do not expand environment variables in `Exec` action `<command>`
argument (but still resolve tilde).
2023-11-02 18:16:53 +00:00
## [0.6.4] - 2023-07-14
2023-06-26 17:09:28 +01:00
### Added
- Add support for `ext_idle_notify` protocol.
- Window-switcher: #879 #969
2024-03-08 21:59:20 +09:00
- Set item-height based on font-height
2023-06-26 17:09:28 +01:00
- 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.
2023-11-02 18:16:53 +00:00
## [0.6.3] - 2023-05-08
2023-05-06 12:26:38 +01:00
### Added
- Add `focus.followMouseRequiresMovement` to allow a stricter
focus-what-is-under-the-cursor configuration. #862
- Support window-rules including properties and on-first-map actions.
Any actions in labwc-actions(5) can be used. Only 'serverDecoration'
has been added as a property so far. Example config:
```xml
2024-01-26 17:17:16 +01:00
<windowRules>
<windowRule identifier="some-application">
<action name="Maximize"/>
</windowRule>
<windowRule identifier="foo*" serverDecoration="yes|no"/>
</windowRules>
```
2023-05-06 12:26:38 +01:00
- Support configuration of window switcher field definitions.
Issues #852 #855 #879
```xml
2024-01-26 17:17:16 +01:00
<windowSwitcher show="yes" preview="yes" outlines="yes">
<fields>
<field content="type" width="25%" />
<field content="app_id" width="25%" />
<field content="title" width="50%" />
</fields>
</windowSwitcher>
```
2023-05-06 12:26:38 +01:00
- Add actions:
2024-01-26 17:17:16 +01:00
- 'Lower' Written-by: @jech
- 'Maximize'
2023-05-06 12:26:38 +01:00
- Support ext-session-lock protocol. Helped-by: @heroin-moose
- Handle XWayland unmanaged surface requests for 'activate' and
'override-redirect'. Fixes: #874
- Add config support for scroll-factor. Fixes #846
- Support 'follow' attribute for SendToDesktop action. Fixes #841
### Fixed
- Fix adaptive sync configuration. Helped-by: @heroin-moose #642
- Ignore SIGPIPE to fix crash caused by Wayland clients requesting X11
clipboard but closing the read-fd before/while the X11 clipboard is
being written to. Fixes #890
- Ellipsize on-screen-display text
- Validate PID before activating XWayland unmanaged surfaces to check that
the surface trying to grab focus is actually a child of the topmost
mapped window.
- Respect cursor constraint hints when cursor movement occurs after
unlocking the pointer. Written-by: @FuzzyQuills Fixes #872
- Fix invisible cursor on startup and output loss/restore.
Reported-by: @Flrian Fixes #820
- Fix decoration protocol implementation
2024-01-26 17:17:16 +01:00
- Respect earlier decoration negotiation results via the
xdg-decoration protocol. Previously setting `<decoration>` to
`client` would cause applications which prefer server side
decorations to not have any decorations at all.
Fixes #297 #831
- Handle results of kde-server-decoration negotiations
2023-05-06 12:26:38 +01:00
- Fix `<focus><followMouse>` cursor glitches and issues with focus
switching via Alt-Tab. Issue #830 #849
### Changed
- Make `<windowSwitcher>` a toplevel element rather than a child of
`<core>`
- Default to follow="true" for SendToDesktop action as per Openbox 3.6
specification.
2023-11-02 18:16:53 +00:00
## [0.6.2] - 2023-03-20
2023-03-11 19:58:42 +00:00
This release contains refactoring and simplification relating to
view-output association and xdg/xwayland configure/map events.
Unless otherwise stated all contributions are by the core-devs
(@Consolatis, @jlindgren90 and @johanmalm).
### Added
- Add config option `<core><windowSwitcher show="no" />` to hide
windowSwitcher (also known as On Screen Display) when switching windows.
- Enable config option `<core><windowSwitcher preview="" />` by default.
- Add ToggleKeybinds action to disable/enable all keybinds (other than
ToggleKeybinds itself). This can be used to better control Virtual
Machines, VNC clients, nested compositors or similar. (#738 and #810)
- Implement cursor constraints (Written-by: @Ph42oN) and lock confinement.
- Support xdg-activation protocol to allow applications to activate
themselves (e.g. raise to the top and get keyboard focus) if they
provide a valid `xdg_activation token`.
- Allow clearing key/mouse bindings by using the 'None' action. This
enables the use of `<default />` and then selectively removing keybinds.
For example the following could be used to allow using A-Left/Right with
Firefox.
```xml
2024-01-26 17:17:16 +01:00
<keyboard>
<default/>
<keybind key="A-Left"><action name="None" /></keybind>
<keybind key="A-Right"><action name="None" /></keybind>
</keyboard>
```
2023-03-11 19:58:42 +00:00
### Fixed
- Prevent cursor based region-snapping when starting a move with Alt-Left.
If region-snapping is wanted in this situation, just press the modifier
again. (#761)
- Prevent rare crash due to layering move/resize/menu operations. (#817)
- Fully reset config default values on Reconfigure if not set in config
file.
- Fix visual glitch when resizing xfce4-terminal from left edge caused by
windows not accepting their request size exactly.
- Fix issue with havoc not having a valid size on map.
- Save `natural_geometry.x/y` with initially maximized xdg-view to fix an
issue where, if Thunar was started maximized, it would un-maximize to
the top-left corner rather than the center.
### Changed
- Change config option `<cycleView*>` to `<windowSwitcher>`.
Use `<core><windowSwitcher show="yes" preview="no" outlines="yes" />`
instead of:
```xml
2024-01-26 17:17:16 +01:00
<core>
<cycleViewOSD>yes</cycleViewOSD>
<cycleViewOutlines>yes</cycleViewOutlines>
<cycleViewPreview>yes</cycleViewPreview>
</core>
```
2023-03-11 19:58:42 +00:00
2023-11-02 18:16:53 +00:00
## [0.6.1] - 2023-01-29
2023-01-25 22:01:50 +00:00
As usual, this release contains lots of refactoring and bug fixes with
particular thanks going to @Consolatis, @jlindgren90, @bi4k8, @Flrian and
@Joshua-Ashton.
### Added
- Add `<regions>` config option allowing the definition of regions to which
windows can be snapped by keeping a keyboard modifier pressed while dragging
or by using the SnapToRegion action. Written-by: @Consolatis
- Add `<Kill>` action to send SIGTERM to a client process. Written-by: @bi4k8
- Add config option `<core><reuseOutputMode>` to support flicker free boot
(issue #724). Written-by: @Consolatis
- Enable single-pixel-buffer-v1
- Support theme setting override by reading `<config-dir>/themerc-override`
- Scale down SSD button icons if necessary to allow using larger ones for high
and mixed DPI usecases. Issue #609. Written-by: @Consolatis
- Handle client request for layer-change
- Support setting color of client menu buttons. Written-by: @Flrian
- Dynamically adjust menu width based on widest item. Written-by: @Consolatis
- Add theme options menu.width.{min,max} and menu.items.padding.{x,y}
### Fixed
- Scale cursor correctly at startup and on output scale-change.
Written-by: @bi4k8
- Release layer tree when releasing output. Written-by: @yuanye
- Ensure natural geometry is restored when no outputs available.
Reported-by: @Flrian
- Fixes memory leaks and prevent crashes associated with missing outputs
Thanks to @Consolatis.
- Update translations for new client menus strings. Thanks-to: @01micko and
@ersen0
- On un-fullscreen, restore SSD before applying previous geometry to avoid
rendering offscreen in some instances. Written-by: @Consolatis
- Allow snapping to the same edge. Thanks-to: @Consolatis and @Flrian
- Send enter event when new layer surface appears under pointer. Issue #667
- Prevent re-focus for always-on-top views when switching workspaces.
Written-by: @Consolatis
- Make sure a default libinput category always exists to avoid devices not
2024-03-08 21:59:20 +09:00
being configured is some instances. Written-by: @jlindgren90
2023-01-25 22:01:50 +00:00
- Update cursor if it is within the OSD area when OSD appears/disappears.
Written-by: @bi4k8
- Provide generic parsing of XML action arguments to enable the use of the
`direction` argument in menu entries. Written-by: @Consolatis
- Fix SSD margin computation. Written-by: @jlindgren90
- Hide SSD decorations for fullscreen views to avoid rendering them on
adjacent outputs. Written-by: @jlindgren90
- Set inactive window button color correctly. Written-by: @ScarcelyThere
- Fix positioning of initially-maximized XWayland views.
Written-by: @jlindgren90
- Check for modifiers when merging mousebinds. Issue #630.
- Handle layer-shell exclusive and on-demand keyboard-interactivity
correctly, and thus support xfce4-panel better. Issues #704 and #725.
- Only overwrite wlroots's automatic layout when necessary.
### Changed
2023-11-02 18:16:53 +00:00
- Filter out `wp_drm_lease_device` from Xwayland to avoid Electron apps such as
2023-01-25 22:01:50 +00:00
VS Code and Discord lagging over time. Issue #553. Written-by: @Joshua-Ashton
- Do not switch output on SnapToEdge if view is maximized. Written-by: @Flrian
2023-11-02 18:16:53 +00:00
## [0.6.0] - 2022-11-17
2022-03-07 21:24:33 +00:00
This release contains significant refactoring to use the wlroots
2022-07-14 00:24:25 +01:00
scene-graph API. This touches many areas of the code, particularly
rendering, server-side-decoration, the layer-shell implementation and the
menu. Many thanks to @Consolatis for doing most of the heavy lifting with
this.
Noteworthy, related changes include:
2023-11-02 18:16:53 +00:00
- The use of a buffer implementation instead of using `wlr_texture`. It
2022-07-14 00:24:25 +01:00
handles both images and fonts, and scales according to output scale.
2023-11-02 18:16:53 +00:00
- The use of node-descriptors to assign roles to `wlr_scene_nodes` in order
2022-07-14 00:24:25 +01:00
to simplify the code.
- Improving the "Debug" action to print scene-graph trees
A large number of bugs and regressions have been fixed following the
re-factoring, too many to list here, but we are grateful to all who have
reported, tested and fixed issues. Particular mentions go to @bi4k8,
@flrian, @heroin-moose, @jlindgren90, @Joshua-Ashton, @01micko and @skerit
### Added
2023-11-02 18:16:53 +00:00
- Set environment variable `LABWC_PID` to the pid of the compositor so that
2022-11-17 20:51:38 +00:00
SIGHUP and SIGTERM can be sent to specific instances.
- Add command line options --exit and --reconfigure.
- Support setting keyboard repeat and delay at runtime. Written-by: @bi4k8
- Add support for mouse-wheel bindings. Set default bindings to switch
workspaces when scrolling on the desktop. Written-by: @Arnaudv6
- Implement key repeat for keybindings. Written-by: @jlindgren90
- Support smooth scroll and horizontal scroll. Written-by: @bi4k8
2022-09-29 23:39:27 +01:00
- Implement virtual keyboard and pointer protocols, enabling the use of
clients such as wtype and wayvnc. Written-by: @Joshua-Ashton
- Add github workflow CI including Debian, FreeBSD, Arch and Void,
including a build without xwayland.
- Support keybind "None" action to clear other actions for a particular
keybind context. Written-by: @jlindgren90
- Support font slant (itliacs) and weight (bold). Written-by: @jlindgren90
2022-11-17 20:51:38 +00:00
- Support `<default />` mousebinds to load default mousebinds and provide
2022-09-29 23:39:27 +01:00
a way to keep config files simpler whilst allowing user specific binds.
Issue #416. Written-by: @Consolatis
2022-11-17 20:51:38 +00:00
- Add config option `<core><cycleViewOutlines>` to enable/disable preview
2022-09-29 23:39:27 +01:00
of outlines. Written-by: @Flrian
- Render submenu arrows
- Allow highest level menu definitions - typically used for root-menu and
2024-03-08 21:59:20 +09:00
client-menu - to be defined without label attribute, for example like this:
2022-11-17 20:51:38 +00:00
`<openbox_menu><menu id="root-menu">...</menu></openbox>`. Issue #472
2022-09-29 23:39:27 +01:00
- Allow xdg-desktop-portal-wlr to work out of the box by initializing dbus
and systemd activation environment. This enables for example OBS Studio
to work with no user configuration. If systemd or dbus is not available
the environment update will fail gracefully. PR #461
Written-by: @Joshua-Ashton and @Consolatis
2022-07-14 00:24:25 +01:00
- Workspaces. Written-by: @Consolatis
- presentation-time protocol
- Native language support for client-menus. Written-by: @01micko
- Touch support. Written-by: @bi4k8
2023-11-02 18:16:53 +00:00
- `drm_lease_v1` for VR to work and leasing of desktop displays.
2022-07-14 00:24:25 +01:00
Written-by: Joshua Ashton
- ToggleAlwaysOnTop action. Written-by: @Consolatis
- Command line option -C to specify config directory
- Theme options osd.border.color and osd.border.width. Written-by: @Consolatis
2022-11-17 20:51:38 +00:00
- Menu `<separator />` and associated theme options:
2022-07-14 00:24:25 +01:00
menu.separator.width, menu.separator.padding.width,
menu.separator.padding.height and menu.separator.color
2023-11-02 18:16:53 +00:00
- Adjust maximized and tiled windows according to `usable_area` taking
2022-07-14 00:24:25 +01:00
into account exclusive layer-shell clients. Written-by: @Consolatis
- Restore natural geometry when moving tiled/maximized window
Fixes #391. Written-by: @Consolatis
2024-01-04 19:42:26 +02:00
- Improve action implementation to take a list of arguments in preparation
2022-07-14 00:24:25 +01:00
for actions with multiple arguments. Written-by: @Consolatis
### Fixed
2022-09-29 23:39:27 +01:00
- Remove unwanted gap when initially (on map) positioning windows larger
than output usable area (issue #403).
- Prevent setting cursor icon on drag. Written-by: @Consolatis (issue #549)
- Fix bugs relating to sending matching pairs of press and release
keycodes to clients when using keybinds. Also fix related key-repeat
bug. (Issue #510)
2023-11-02 18:16:53 +00:00
- Fix `wlr_output_cursor` initialization bug on new output.
2022-09-29 23:39:27 +01:00
Written-by: @jlindgren90
- Show correct cursor for resize action triggered by keybind.
Written-by: @jlindgren
2022-11-17 20:51:38 +00:00
- Fix bug which manifest itself when keeping button pressed in GTK3 menu
and firefox context menu. Written-by: @jlindgren90
2022-09-29 23:39:27 +01:00
- Enable tap be default on non-touch devices (which some laptop trackpads
apparently are)
- Handle missing cursor theme (issue #246). Written-by: @Consolatis
2024-03-08 21:59:20 +09:00
- Fix various surface synchronization, stacking, positioning and focus
2022-09-29 23:39:27 +01:00
issues, including those related to both xwayland, scroll/drag events
and also #526 #483
- On first map, do not center xwayland views with explicitly specified
position. Written-by: @jlindgren90
- Give keyboard focus back to topmost mapped view when unmapping topmost
xwayland unmanaged surfaces, such as dmenu. Written-by: @Consolatis.
- Fix mousebind ordering and replace earlier mousebinds by later ones
Written-by: @Consolatis
- Fix various bugs associated with destroying/disabling outputs, including
issue #497
- Hide Alt-Tab switcher when canceling via Escape. @jlindgren90
- (Re)set seat when xwayland is ready (because wlroots reset the seat
assigned to xwayland to NULL whenever Xwayland terminates).
Issues #166 #444. Written-by: @Consolatis. Helped-by: @droc12345
- Increase File Descriptor (FD) limit to max because a compositor has to
2023-11-02 18:16:53 +00:00
handle many: client connections, DMA-BUFs, `wl_data_device` pipes and so on.
2022-09-29 23:39:27 +01:00
Fixes client freeze/crashes (swaywm/sway#6642). Written-by: @Joshua-Ashton
- Fix crash when creating a cursor constraint and there is no currently
focused view.
- Gracefully handle dying client during interactive move.
Written-by: @Consolatis
2024-03-08 21:59:20 +09:00
- Dynamically adjust server-side-decoration invisible resize areas based
2023-11-02 18:16:53 +00:00
on `usable_area` to ensure that cursor events are sent to clients such as
2022-07-14 00:24:25 +01:00
panels in preference to grabbing window edges. Fixes #265.
Written-by: @Consolatis
- Always position submenus inside output extents. Fixes #276
Written-by: @Consolatis
- Do not crash when changing TTY. Written-by: @bi4k8
- Set wlroots.wrap to a specific commit rather than master because it
enables labwc commits to be checked out and build without manually
having to find the right wlroots commit if there are upstream breaking
changes.
- Increase accuracy of window center-alignment, taking into account
2023-11-02 18:16:53 +00:00
`usable_area` and window decoration. Also, top/left align if window is
2022-07-14 00:24:25 +01:00
bigger than usable area.
- Handle view-destruction during alt-tab cycling.
Written-by: @Joshua-Ashton
- Survive all outputs being disabled
- Check that double-clicks are on the same window. Written-by: yizixiao
- Set xdg-shell window position before maximize on first map so that the
unmaximized geometry is known when started in maximized mode.
Fixes issue #305. Reported-by: @01micko
2022-11-17 20:51:38 +00:00
- Support `<menu><item><action name="Execute"><execute>`
2024-03-08 21:59:20 +09:00
`<execute>` is a deprecated name for `<command>`, but is supported for
2022-07-14 00:24:25 +01:00
backward compatibility with old menu-generators.
- Keep xwayland-shell SSD state on unmap/map cycle.
Written-by: @Consolatis
- Prevent segfault on missing direction arguments. Reported-by: @flrian
- Fix keybind insertion order to restore intended behavior of keybinds
2022-11-17 20:51:38 +00:00
set by `<default />`. Written-by: @Consolatis
2022-07-14 00:24:25 +01:00
- Ensure client-menu actions are always applied on window they belong to
This fixes #380. Written-by: @Consolatis
- Keep window margin in sync when toggling decorations.
Written-by: @Consolatis
- Fix handling of client-initiated configure requests.
Written-by: @jlindgren90
- Always react to new output configuration. Reported-by @heroin-moose and
Written-by: @Consolatis
2022-11-17 20:51:38 +00:00
- Fix bug in environment variable expansion by allowing underscores to be
part of the variable names. Issue #439
- Fix parsing bug of adaptiveSync setting and test for support
2022-07-14 00:24:25 +01:00
### Changed
2022-11-17 20:51:38 +00:00
- src/config/rcxml.c: distinguish between no and unknown font places so
that `<font>` with no `place` attribute can be added after other font
elements without over-writing their values. Written-by: @bi4k8
2022-07-14 00:24:25 +01:00
- theme: change window.label.text.justify default to center
2022-09-29 23:39:27 +01:00
- Redefine the SSD "Title" context to cover the whole Titlebar area except
the parts occupied by buttons. This allows "Drag" and "DoubleClick"
actions to be de-coupled from buttons. As a result, "Drag" and
"DoubleClick" actions previously defined against "TitleBar" should now
come under the "Title" context, for example:
2022-11-17 20:51:38 +00:00
`<mousebind button="Left" action="Drag"><action name="Move"/></mousebind>`
2022-09-29 23:39:27 +01:00
- Remove default alt-escape keybind for Exit because too many people have
exited the compositor by mistake trying to get out of alt-tab cycling
or similar.
2022-07-15 20:05:43 +01:00
## [0.5.3] - 2022-07-15
2022-03-07 21:24:33 +00:00
### Added
2022-07-14 00:24:25 +01:00
- wlr-output-power-management protocol to enable clients such as wlopm
Written-by: @bi4k8
### Fixed
- Call foreign-toplevel-destroy when unmapping xwayland surfaces because
some xwayland clients leave unmapped child views around. Although
2023-11-02 18:16:53 +00:00
`handle_destroy()` is not called for these, we have to call
2024-03-08 21:59:20 +09:00
foreign-toplevel-destroy to avoid clients such as panels incorrectly
2022-07-14 00:24:25 +01:00
showing them.
2023-11-02 18:16:53 +00:00
- Handle xwayland `set_override_redirect` events to fix weird behaviour
with gitk menus and rofi.
2022-07-14 00:24:25 +01:00
- Re-focus parent surface on unmapping xwayland unmanaged surfaces
Fixes #352 relating to JetBrains and Intellij focus issues
Written-by: Jelle De Loecker
- Do not segfault on missing drag icon. Written-by: @Consolatis
2024-03-08 21:59:20 +09:00
- Fix windows erratically sticking to edges during move/resize.
2022-07-14 00:24:25 +01:00
Fixes issues #331 and #309
2022-03-07 21:24:33 +00:00
2022-05-17 20:39:49 +01:00
## [0.5.2] - 2022-05-17
This is a minor bugfix release mostly to ease packaging.
### Fixed
- Properly use system provided wlroots. Written-by: @eli-schwartz
## [0.5.1] - 2022-04-08
2022-04-08 22:06:51 +01:00
### Added
2023-11-02 18:16:53 +00:00
- Honour size increments from `WM_SIZE_HINTS`, for example to allow
2022-04-08 22:06:51 +01:00
xwayland terminal emulators to be resized to a width/height evenly
divisible by the cell size. Written-by: @jlindgren90
- Implement cursor input for overlay popups. Written-by: @Consolatis
2022-02-18 21:54:07 +00:00
### Fixed
2022-02-18 21:54:07 +00:00
2022-04-08 22:06:51 +01:00
- Do not raise xwayland windows when deactivating (issue #270).
Written-by: @Consolatis
- Restore drag mouse-bindings and proper double-click (issues #258 and
#259). Written-by: @Consolatis
- Implement cursor input for unmanaged xwayland surfaces outside their
parent view. Without this menus extending outside the main application
window do not receive mouse input. Written-by: @jlindgren90
- Allow dragging scrollbar or selecting text even when moving cursor
outside of the window (issue #241). Written-by: @Consolatis
- Fix positioning of xwayland views with multiple queued configure
events. Written-by: @Consolatis
- Force a pointer enter event on the surface below the cursor when
cycling views (issue #162). Written-by: @Consolatis
- Fix qt application crash on touchpad scroll (issue #225).
Written-by: @Consolatis
## [0.5.0] - 2022-02-18
2022-02-18 21:54:07 +00:00
As usual, this release contains a bunch of fixes and improvements, of
which the most notable feature-type changes are listed below. A big
thank you to @ARDiDo, @Consolatis and @jlindgren90 for much of the hard
work.
### Added
2022-02-18 21:54:07 +00:00
- Render overlay layer popups to support sfwbar (issue #239)
- Support HiDPI on-screen-display images for outputs with different scales
2022-03-01 20:42:00 +00:00
- Reload environment variables on SIGHUP (issue #227)
2022-02-18 21:54:07 +00:00
- Add client menu
- Allow applications to start in fullscreen
- Add config option `<core><cycleViewPreview>` to preview the contents
of each view when cycling through them (for example using alt-tab).
- Allow mouse movements to trigger SnapToEdge. When dragging a view, move
the cursor outside an output to snap in that direction.
- Unmaximize on Move
- Support wlroots environment variable `WLR_{WL,X11}_OUTPUTS` for running
in running nested in X11 or a wlroots compositor.
- Support pointer gestures (pinch/swipe)
- Adjust views to account for output layout changes
### Changed
2022-02-18 21:54:07 +00:00
This release contains the following two breaking changes:
2022-02-18 21:54:07 +00:00
- Disabling outputs now causes views to be re-arranged, so in the
context of idle system power management (for example when using
swaylock), it is no longer suitable to call wlr-randr {--off,--on}
to enable/disable outputs.
- The "Drag" mouse-event and the unmaximize-on-move feature require
slightly different `<mousebind>` settings to feel natural, so suggest
updating any local `rc.xml` settings in accordance with
`docs/rc.xml.all`
## [0.4.0] - 2021-12-31
Compile with wlroots 0.15.0
This release contains lots of internal changes, fixes and new features.
A big thank you goes out to @ARDiDo, @bi4k8, @Joshua-Ashton,
@jlindgren90, @Consolatis, @telent and @apbryan. The most notable
feature-type changes are listed below.
### Added
- Add support for the following wayland protocols:
2024-01-26 17:17:16 +01:00
- `pointer_constraints` and `relative_pointer` - mostly for gaming.
Written-by: @Joshua-Ashton
- `viewporter` - needed for some games to fake modesets.
Written-by: @Joshua-Ashton
- `wlr_input_inhibit`. This enables swaylock to be run.
Written-by: @telent
- `wlr_foreign_toplevel`. This enables controlling windows from clients
such as waybar.
- `idle` and `idle_inhibit` (Written-by: @ARDiDo)
- Support fullscreen mode.
- Support drag-and-drop. Written-by: @ARDiDo
- Add the following config options:
2024-01-26 17:17:16 +01:00
- Load default keybinds on `<keyboard><default />`
- `<keyboard><repeatRate>` and `<keyboard><repeatDelay>`
- Specify distance between views and output edges with `<core><gap>`
- `<core><adaptiveSync>`
- Set menu item font with `<theme><font place="MenuItem">`
- Allow `<theme><font>` without place="" attribute, thus enabling
simpler config files
- Support `<mousebind>` with `contexts` (e.g. `TitleBar`, `Left`,
`TLCorner`, `Frame`), `buttons` (e.g. `left`, `right`), and
`mouse actions` (e.g. `Press`, `DoubleClick`). Modifier keys are
also supported to handle configurations such as `alt` + mouse button
to move/resize windows. (Written-by: @bi4k8, @apbryan)
- `<libinput>` configuration. Written-by: @ARDiDo
- `<resistance><screenEdgeStrength>`
- Support for primary selection. Written-by: @telent
- Support 'alt-tab' on screen display when cycling between windows
including going backwards by pressing `shift` (Written-by: @Joshua-Ashton)
and cancelling with `escape` (Written-by: @jlindgren90)
- Add the following theme options:
2024-01-26 17:17:16 +01:00
- set buttons colors individually (for iconify, close and maximize)
- `window.(in)active.label.text.color`
- `window.label.text.justify`
- OSD colors
- Show application title in window decoration title bar
- Handle double click on window decoration title bar
- Support a 'resize-edges' area that is wider than than the visible
window decoration. This makes it easier to grab edges to resize
windows.
- Add window actions 'MoveToEdge', 'ToggleMaximize', 'Close', 'Iconify',
'ToggleDecorations', 'ToggleFullscreen', 'SnapToEdge', 'Focus', 'Raise',
'Move', 'MoveToEdge', 'Resize', 'PreviousWindow', 'ShowMenu'
- Add labwc.desktop for display managers
- layer-shell:
2024-01-26 17:17:16 +01:00
- Take into account exclusive areas of clients (such as panels) when
maximizing windows
- Support popups
- Handle xwayland `set_decorations` and xdg-shell-decoration requests.
Written-by: @Joshua-Ashton
- Handle view min/max size better, including xwayland hint support.
Written-by: @Joshua-Ashton
- Handle xwayland move/resize events. Written-by: @Joshua-Ashton
- Support audio and monitor-brightness keys by default
- Catch ctrl-alt-F1 to F12 to switch tty
- Support `XCURSOR_THEME` and `XCURSOR_SIZE` environment variables
- Support submenus including inline definitions
### Changed
- The config option `<lab><xdg_shell_server_side_deco>` has changed to
`<core><decoration>` (breaking change)
## [0.3.0] - 2021-06-28
Compile with wlroots 0.14.0
### Added
- Add config options `<focus><followMouse>` and `<focus><raiseOnFocus>`
(provided-by: Mikhail Kshevetskiy)
- Do not use Clearlooks-3.4 theme by default, just use built-in theme
- Fix bug which triggered Qt application segfault
## [0.2.0] - 2021-04-15
Compile with wlroots 0.13.0
### Added
2024-01-04 19:42:26 +02:00
- Support wlr-output-management protocol for setting output position, scale
and orientation with kanshi or similar
- Support server side decoration rounded corners
- Change built-in theme to match default GTK style
- Add labwc-environment(5)
- Call `wlr_output_enable_adaptive_sync()` if `LABWC_ADAPTIVE_SYNC` set
## [0.1.0] - 2021-03-05
Compile with wlroots 0.12.0 and wayland-server >=1.16
### Added
- Support xdg-shell and optionally xwayland-shell
- Show xbm buttons for maximize, iconify and close
- Support layer-shell protocol (partial)
- Support damage tracking to reduce CPU usage
- Support very basic root-menu implementation
- Re-load config and theme on SIGHUP
- Support simple configuration to auto-start applications, set
environment variables and specify theme, font and keybinds.
- Support some basic theme settings for window borders and title bars
- Support basic actions including Execute, Exit, NextWindow, Reconfigure and
ShowMenu
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
2024-12-04 21:10:05 +00:00
[unreleased]: https://github.com/labwc/labwc/compare/0.8.2...HEAD
[0.8.2]: https://github.com/labwc/labwc/compare/0.8.1...0.8.2
2024-10-21 21:10:08 +01:00
[0.8.1]: https://github.com/labwc/labwc/compare/0.8.0...0.8.1
2024-08-15 21:16:48 +01:00
[0.8.0]: https://github.com/labwc/labwc/compare/0.7.3...0.8.0
2024-07-19 21:59:13 +01:00
[0.7.4]: https://github.com/labwc/labwc/compare/0.7.3...0.7.4
2024-07-08 20:09:00 +01:00
[0.7.3]: https://github.com/labwc/labwc/compare/0.7.2...0.7.3
2024-05-05 22:06:36 +01:00
[0.7.2]: https://github.com/labwc/labwc/compare/0.7.1...0.7.2
2024-02-02 20:55:16 +00:00
[0.7.1]: https://github.com/labwc/labwc/compare/0.7.0...0.7.1
2023-12-19 21:45:40 +00:00
[0.7.0]: https://github.com/labwc/labwc/compare/0.6.6...0.7.0
2023-11-25 21:07:20 +00:00
[0.6.6]: https://github.com/labwc/labwc/compare/0.6.5...0.6.6
2023-09-20 21:07:56 +01:00
[0.6.5]: https://github.com/labwc/labwc/compare/0.6.4...0.6.5
[0.6.4]: https://github.com/labwc/labwc/compare/0.6.3...0.6.4
[0.6.3]: https://github.com/labwc/labwc/compare/0.6.2...0.6.3
[0.6.2]: https://github.com/labwc/labwc/compare/0.6.1...0.6.2
[0.6.1]: https://github.com/labwc/labwc/compare/0.6.0...0.6.1
[0.6.0]: https://github.com/labwc/labwc/compare/0.5.0...0.6.0
[0.5.3]: https://github.com/labwc/labwc/compare/0.5.2...0.5.3
[0.5.2]: https://github.com/labwc/labwc/compare/0.5.1...0.5.2
[0.5.1]: https://github.com/labwc/labwc/compare/0.5.0...0.5.1
[0.5.0]: https://github.com/labwc/labwc/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/labwc/labwc/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/labwc/labwc/compare/0.2.0...0.3.0
[0.2.0]: https://github.com/labwc/labwc/compare/0.1.0...0.2.0
[0.1.0]: https://github.com/labwc/labwc/compare/081339e...0.1.0
2021-03-06 11:45:45 +00:00
2024-10-21 21:10:08 +01:00
[#1278]: https://github.com/labwc/labwc/pull/1278
[#1503]: https://github.com/labwc/labwc/pull/1503
[#1716]: https://github.com/labwc/labwc/pull/1716
[#1890]: https://github.com/labwc/labwc/pull/1890
[#1941]: https://github.com/labwc/labwc/pull/1941
[#1962]: https://github.com/labwc/labwc/pull/1962
[#1963]: https://github.com/labwc/labwc/pull/1963
[#1965]: https://github.com/labwc/labwc/pull/1965
[#1997]: https://github.com/labwc/labwc/pull/1997
[#2009]: https://github.com/labwc/labwc/pull/2009
[#2016]: https://github.com/labwc/labwc/pull/2016
2024-10-21 21:10:08 +01:00
[#2030]: https://github.com/labwc/labwc/pull/2030
[#2041]: https://github.com/labwc/labwc/pull/2041
2024-10-21 21:10:08 +01:00
[#2052]: https://github.com/labwc/labwc/pull/2052
[#2055]: https://github.com/labwc/labwc/pull/2055
[#2056]: https://github.com/labwc/labwc/pull/2056
2024-10-21 21:10:08 +01:00
[#2057]: https://github.com/labwc/labwc/pull/2057
[#2060]: https://github.com/labwc/labwc/pull/2060
[#2061]: https://github.com/labwc/labwc/pull/2061
[#2069]: https://github.com/labwc/labwc/pull/2069
2024-12-01 20:04:23 +00:00
[#2072]: https://github.com/labwc/labwc/pull/2072
2024-10-21 21:10:08 +01:00
[#2075]: https://github.com/labwc/labwc/pull/2075
[#2079]: https://github.com/labwc/labwc/pull/2079
2024-10-21 21:10:08 +01:00
[#2088]: https://github.com/labwc/labwc/pull/2088
[#2091]: https://github.com/labwc/labwc/pull/2091
[#2094]: https://github.com/labwc/labwc/pull/2094
[#2097]: https://github.com/labwc/labwc/pull/2097
[#2100]: https://github.com/labwc/labwc/pull/2100
[#2101]: https://github.com/labwc/labwc/pull/2101
[#2102]: https://github.com/labwc/labwc/pull/2102
[#2105]: https://github.com/labwc/labwc/pull/2105
[#2116]: https://github.com/labwc/labwc/pull/2116
[#2127]: https://github.com/labwc/labwc/pull/2127
[#2128]: https://github.com/labwc/labwc/pull/2128
[#2150]: https://github.com/labwc/labwc/pull/2150
[#2152]: https://github.com/labwc/labwc/pull/2152
[#2154]: https://github.com/labwc/labwc/pull/2154
[#2166]: https://github.com/labwc/labwc/pull/2166
[#2167]: https://github.com/labwc/labwc/pull/2167
[#2174]: https://github.com/labwc/labwc/pull/2174
[#2189]: https://github.com/labwc/labwc/pull/2189
[#2190]: https://github.com/labwc/labwc/pull/2190
[#2191]: https://github.com/labwc/labwc/pull/2191
[#2196]: https://github.com/labwc/labwc/pull/2196
[#2205]: https://github.com/labwc/labwc/pull/2205
[#2207]: https://github.com/labwc/labwc/pull/2207
[#2221]: https://github.com/labwc/labwc/pull/2221
[#2224]: https://github.com/labwc/labwc/pull/2224
[#2225]: https://github.com/labwc/labwc/pull/2225
[#2226]: https://github.com/labwc/labwc/pull/2226
[#2231]: https://github.com/labwc/labwc/pull/2231
[#2234]: https://github.com/labwc/labwc/pull/2234
[#2244]: https://github.com/labwc/labwc/pull/2244
2024-11-11 20:51:37 +00:00
[#2245]: https://github.com/labwc/labwc/pull/2245
[#2249]: https://github.com/labwc/labwc/pull/2249
2024-10-21 21:10:08 +01:00
[#2250]: https://github.com/labwc/labwc/pull/2250
2024-11-11 20:51:37 +00:00
[#2257]: https://github.com/labwc/labwc/pull/2257
[#2266]: https://github.com/labwc/labwc/pull/2266
[#2273]: https://github.com/labwc/labwc/pull/2273
[#2274]: https://github.com/labwc/labwc/pull/2274
[#2276]: https://github.com/labwc/labwc/pull/2276
[#2277]: https://github.com/labwc/labwc/pull/2277
[#2291]: https://github.com/labwc/labwc/pull/2291
[#2295]: https://github.com/labwc/labwc/pull/2295
[#2313]: https://github.com/labwc/labwc/pull/2313
[#2319]: https://github.com/labwc/labwc/pull/2319
[#2321]: https://github.com/labwc/labwc/pull/2321
[#2325]: https://github.com/labwc/labwc/pull/2325
[#2326]: https://github.com/labwc/labwc/pull/2326
2024-12-01 20:04:23 +00:00
[#2329]: https://github.com/labwc/labwc/pull/2329
[#2331]: https://github.com/labwc/labwc/pull/2331
[#2335]: https://github.com/labwc/labwc/pull/2335
[#2336]: https://github.com/labwc/labwc/pull/2336
[#2337]: https://github.com/labwc/labwc/pull/2337
[#2338]: https://github.com/labwc/labwc/pull/2338
[#2345]: https://github.com/labwc/labwc/pull/2345
[#2356]: https://github.com/labwc/labwc/pull/2356
[#2360]: https://github.com/labwc/labwc/pull/2360
[#2361]: https://github.com/labwc/labwc/pull/2361
[#2363]: https://github.com/labwc/labwc/pull/2363
2024-12-04 21:10:05 +00:00
[#2371]: https://github.com/labwc/labwc/pull/2371
2024-12-01 20:04:23 +00:00
[#2376]: https://github.com/labwc/labwc/pull/2376
[#2377]: https://github.com/labwc/labwc/pull/2377
[#2380]: https://github.com/labwc/labwc/pull/2380
2024-12-04 21:10:05 +00:00
[#2398]: https://github.com/labwc/labwc/pull/2398
[#2400]: https://github.com/labwc/labwc/pull/2400
[#2409]: https://github.com/labwc/labwc/pull/2409
[#2412]: https://github.com/labwc/labwc/pull/2412
[#2414]: https://github.com/labwc/labwc/pull/2414
[#2420]: https://github.com/labwc/labwc/pull/2420