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.16 #3148

Merged
merged 5 commits into from
Nov 28, 2023
Merged

Release 2.16 #3148

merged 5 commits into from
Nov 28, 2023

Conversation

AlanGriffiths
Copy link
Contributor

@AlanGriffiths AlanGriffiths commented Nov 23, 2023

~rc1

TestPlan

Platform 22.04LTS 23.04 23.10 24.04dev
gbm-kms @AlanGriffiths @AlanGriffiths
gbm-x11 @AlanGriffiths @AlanGriffiths @AlanGriffiths
gbm-wayland @AlanGriffiths @AlanGriffiths
eglstream-kms
virtual @AlanGriffiths @AlanGriffiths
Console 22.04LTS 23.04 23.10 24.04dev
minimal @AlanGriffiths @AlanGriffiths
linux-VT @AlanGriffiths
logind @AlanGriffiths @AlanGriffiths @AlanGriffiths
WM 22.04LTS 23.04 23.10 24.04dev
floating @AlanGriffiths @AlanGriffiths
tiling @AlanGriffiths @AlanGriffiths
kiosk @AlanGriffiths @AlanGriffiths

Copy link

codecov bot commented Nov 23, 2023

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7426ea9) 77.81% compared to head (bc5029a) 77.82%.
Report is 2 commits behind head on main.

Files Patch % Lines
src/platforms/evdev/platform.cpp 66.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3148      +/-   ##
==========================================
+ Coverage   77.81%   77.82%   +0.01%     
==========================================
  Files        1074     1064      -10     
  Lines       74893    74440     -453     
==========================================
- Hits        58275    57933     -342     
+ Misses      16618    16507     -111     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

RAOF and others added 2 commits November 24, 2023 11:33
Not all `ConsoleProvider`s will send a `removed` event on the `DeviceObserver`
(in fact, only logind will), so we can't rely on that to clean up the handle
in `device_watchers`.

Furthermore, libinput itself will notice a device going away (by monitoring
the fd) and generate `LIBINPUT_EVENT_DEVICE_REMOVED`, which we might process
*before* the udev `REMOVED` event, and in *that* case, `device_removed` will
have already deleted the `LibInputDevice` and so the udev event handler
will *also* not clean up `device_watchers`.

Resolve this by cleaning up `device_watchers` *only* in `device_removed`,
and rely on the `DeviceObserver::removed` codepath triggering a libinput
removal event.

Fixes: #3149
(cherry picked from commit 5205713)
@AlanGriffiths
Copy link
Contributor Author

I've noticed that the changelog is missing at least on PR (#3145):

(I'm leaving this in a comment pending further checking)

@Saviq
Copy link
Collaborator

Saviq commented Nov 27, 2023

@AlanGriffiths we'll need this one cherry-picked:

@AlanGriffiths
Copy link
Contributor Author

AlanGriffiths commented Nov 27, 2023

~rc5

TestPlan

Platform 22.04LTS 23.10 24.04dev
gbm-kms @AlanGriffiths @AlanGriffiths
gbm-x11 @AlanGriffiths
gbm-wayland @AlanGriffiths
eglstream-kms
virtual
Console 22.04LTS 23.10 24.04dev
minimal @AlanGriffiths @AlanGriffiths
linux-VT @AlanGriffiths
logind @AlanGriffiths @AlanGriffiths
WM 22.04LTS 23.10 24.04dev
floating @AlanGriffiths @AlanGriffiths
tiling @AlanGriffiths @AlanGriffiths
kiosk @AlanGriffiths

Copy link
Collaborator

@Saviq Saviq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woot!

Just waiting for things to build in the RC PPA:

https://launchpad.net/~mir-team/+archive/ubuntu/rc/+packages

@Saviq Saviq added this pull request to the merge queue Nov 28, 2023
Merged via the queue into main with commit f449c0e Nov 28, 2023
63 checks passed
@Saviq Saviq deleted the release/2.16 branch November 28, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants