Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.17.0 #3381

Merged
merged 5 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ppa-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
release:
- "22.04"
- "23.10"
- "24.04"
- "devel"

runs-on: ubuntu-latest
Expand Down
60 changes: 60 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
mir (2.17.0) UNRELEASED; urgency=medium

[ Matthew Kosarek ]
* New upstream release 2.17.0

- ABI summary:
. miral ABI bumped to 7
. mircommon ABI bumped to 10
. mircookie has been removed
. mircore ABI unchanged at 2
. miroil ABI bumped to 5
. mirplatform ABI bumped to 28
. mirserver ABI bumped to 60
. mirwayland ABI bumped to 5
. mirplatformgraphics ABI bumped to 22
. mirinputplatform ABI bumped to 9
- Enhancements:
. [Wayland] wlr foreign toplevel management protocol returns the desktop id as the app_id if it can. (PR: #3147)
. [Wayland] Prototype an implementation of the mir-shell protocol (PR: #3166)
. [Wayland] Add support for zwlr_layer_surface_v1::set_exclusive_zone(-1) (Fixes: #1992)
. [Wayland] Add support for wl_surface enter/leave events. (Fixes: #342)
. [platforms] Much better display and graphics platform selection, especially for hybrid and Nvidia systems. (PR: #3220)
. [input] Add HW cursor support. (Fixes #3198)
. [miral] Add support for logind lock and unlock so that compositors may implement some behavior in response to these signals, like showing a lockscreen. (PR: #3232)
. [miral] Provide a mechanism to allow 3rd-party compositors to override the renderer in miral. (PR: #3338)
. [mirserver] Provide access to the Surface from the Renderable. (PR: #3355)
. [window management] Foating window manager places new windows at an offset from the previously opened window. (Fixes #3175)
. [snap] Build mir-libs for both core22 and core24. (PR: #3364)
. [snap] Drop snap support for 23.04. (PR: #3208)
. [doc] Move documentation from Discourse to readthedocs. (PR: #3311)
. [misc] Add support for floating point command line options. (PR: #3324)
- Packaging changes:
. Remove mircookie. (PR: #3178)
. Add libmirserver-internal-dev. (PR: #3288)
. Add mircommon-internal-dev. (PR: #3328)
- Bugs fixed
. [window management] Fix dragging and resizing of satellite windows. (PR: #3156)
. [Wayland] wlr layer shell surfaces that are east/west attached always push north/south attached surfaces out of the way. (Fixes: #3128)
. [graphics platforms] Fix changing scale at runtime leading to misrendering (Fixes: #3165)
. [rendering] Sever-side decorations are now scale-aware (Fixes: #1369)
. [rendering] Fix transformation for Layout::TopRowFirst in the renderer. (Fixes: #3185)
. [XWayland] No longer killing X11 apps whose pop-ups don't support WM_DELETE_WINDOW. (Fixes: #3177)
. [rendering] When the layout of the texture disagrees with the layout of the output surface, then the clip area needs to be modified. (Fixes: #3201)
. [graphics platforms] Allow for multiple RenderingPlatforms of each type. (Fixes: #3205)
. [window management] Alt + grave implements the same window cycling behavior as alt + tab. (PR: #3216)
. [Wayland] Wrapper generator no longer ignores requests with destructor attribute. (Fixes: #3241)
. [graphics platforms] Ignore zero-length gamma curves on the gbm-kms platform, which are seen after the display wakes up. (Fixes: #3238)
. [graphics platforms] No longer assume that a mir:virtual platform exists. (Fixes: #3261)
. [Wayland] Add a quirk to the DesktopFileManager's resolution of gnome-terminal-server (PR: #3264)
. [Wayland] Fix the clip area in the renderer so that wlr-screencopy-unstable-v1 outputs the correct image (Fixes: #3236)
. [graphics platforms] Fix for eglQueryDmaBufModifiersEXT spuriously returning EGL_BAD_PARAMETER for a few formats on the Nvidia platform (Fixes: #3278)
. [Wayland] Fix incorrect screenshots on rotated displays (Fixes: #3259)
. [misc] Fix propagation of custom attributes on outputs. (Fixes: https://github.com/canonical/ubuntu-frame/issues/172)
. [window management] Fix positioning of satellite windows. (PR: #3313)
. [rendering] Major simplification of surface buffering. (PR: #3316)
. [Wayland] Fix race in virtual-pointer-v1 destruction (Fixes: #3300)
. [graphics platforms] Fix hang on Nvidia platform when a display configuration is detected. (Fixes: #3375)

-- Matthew Kosarek <[email protected]> Wed, 07 May 2024 11:07:00 -0500

mir (2.16.4) UNRELEASED; urgency=medium

* Bugfix release:
Expand Down
5 changes: 2 additions & 3 deletions src/miral/minimal_window_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,8 @@ bool miral::MinimalWindowManager::handle_keyboard_event(MirKeyboardEvent const*
switch (mir_keyboard_event_scan_code(event))
{
case KEY_LEFTALT:
if (self->application_selector.complete() != nullptr)
return true;
break;
self->application_selector.complete();
[[fallthrough]];
default:;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(MIR_SERVER_INPUT_PLATFORM_ABI ${MIR_SERVER_INPUT_PLATFORM_ABI} PARENT_SCOPE)
set(MIR_SERVER_INPUT_PLATFORM_VERSION "MIR_INPUT_PLATFORM_${MIR_SERVER_INPUT_PLATFORM_STANZA_VERSION}")
set(MIR_SERVER_INPUT_PLATFORM_VERSION ${MIR_SERVER_INPUT_PLATFORM_VERSION} PARENT_SCOPE)
set(MIR_SERVER_GRAPHICS_PLATFORM_ABI 22)
set(MIR_SERVER_GRAPHICS_PLATFORM_STANZA_VERSION 2.16)
set(MIR_SERVER_GRAPHICS_PLATFORM_STANZA_VERSION 2.17)
set(MIR_SERVER_GRAPHICS_PLATFORM_ABI ${MIR_SERVER_GRAPHICS_PLATFORM_ABI} PARENT_SCOPE)
set(MIR_SERVER_GRAPHICS_PLATFORM_VERSION "MIR_GRAPHICS_PLATFORM_${MIR_SERVER_GRAPHICS_PLATFORM_STANZA_VERSION}")
set(MIR_SERVER_GRAPHICS_PLATFORM_VERSION ${MIR_SERVER_GRAPHICS_PLATFORM_VERSION} PARENT_SCOPE)
Expand Down
16 changes: 0 additions & 16 deletions src/server/frontend_wayland/keyboard_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "mir/events/keyboard_event.h"
#include "mir/input/seat.h"
#include "mir/fatal.h"
#include "mir/log.h"

#include <cstring> // memcpy
#include <unordered_set>
Expand Down Expand Up @@ -62,7 +61,6 @@ void mf::KeyboardHelper::handle_event(std::shared_ptr<MirEvent const> const& eve
switch (mir_input_event_get_type(mir_event_get_input_event(event.get())))
{
case mir_input_event_type_keyboard_resync:
mir::log_debug("mir_input_event_type_keyboard_resync is causing modifiers to be refreshed");
refresh_modifiers();
break;

Expand Down Expand Up @@ -150,20 +148,6 @@ void mf::KeyboardHelper::set_keymap(std::shared_ptr<mi::Keymap> const& new_keyma

void mf::KeyboardHelper::set_modifiers(MirXkbModifiers const& new_modifiers)
{
mir::log_debug(
"Modifiers are being set from: depressed=0x%08x, latched=0x%08x, locked=0x%08x, effective_layout=0x%08x",
modifiers.depressed,
modifiers.latched,
modifiers.locked,
modifiers.effective_layout);

mir::log_debug(
"Modifiers are being set to: depressed=0x%08x, latched=0x%08x, locked=0x%08x, effective_layout=0x%08x",
new_modifiers.depressed,
new_modifiers.latched,
new_modifiers.locked,
new_modifiers.effective_layout);

if (new_modifiers != modifiers)
{
modifiers = new_modifiers;
Expand Down
9 changes: 0 additions & 9 deletions src/server/frontend_wayland/wl_keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ void mf::WlKeyboard::focus_on(WlSurface* surface)
auto const serial = client->next_serial(nullptr);
send_enter_event(serial, surface->raw_resource(), &key_state);
wl_array_release(&key_state);
mir::log_debug("Surface (id=%u) has been focused and is refreshing its modifiers",
wl_resource_get_id(surface->raw_resource()));
helper->refresh_modifiers();
}

Expand Down Expand Up @@ -112,13 +110,6 @@ void mf::WlKeyboard::send_key(std::shared_ptr<MirKeyboardEvent const> const& eve

void mf::WlKeyboard::send_modifiers(MirXkbModifiers const& modifiers)
{
mir::log_debug(
"Sending modifiers event: depressed=0x%08x, latched=0x%08x, locked=0x%08x, effective_layout=0x%08x",
modifiers.depressed,
modifiers.latched,
modifiers.locked,
modifiers.effective_layout);

auto const serial = client->next_serial(nullptr);
send_modifiers_event(
serial,
Expand Down
Loading