After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782231 - Remove all xrandr related functionality
Remove all xrandr related functionality
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on: 781906
Blocks: 782232 782233
 
 
Reported: 2017-05-05 17:12 UTC by Rui Matos
Modified: 2017-07-19 09:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
orientation: Remove plugin (25.10 KB, patch)
2017-05-05 17:12 UTC, Rui Matos
committed Details | Review
media-keys: Remove video-out and rotate-video handling (8.29 KB, patch)
2017-05-05 17:13 UTC, Rui Matos
committed Details | Review
power: Stop using an xrandr plugin setting to suspend on lid close (2.61 KB, patch)
2017-05-05 17:13 UTC, Rui Matos
committed Details | Review
xrandr: Remove plugin (89.38 KB, patch)
2017-05-05 17:13 UTC, Rui Matos
committed Details | Review

Description Rui Matos 2017-05-05 17:12:45 UTC
This is all being moved to mutter since it depends on the old
org.gnome.Mutter.DisplayConfig which doesn't support scaling and thus
is going to be deprecated.
Comment 1 Rui Matos 2017-05-05 17:12:51 UTC
Created attachment 351220 [details] [review]
orientation: Remove plugin

This functionality is moving to mutter.
Comment 2 Rui Matos 2017-05-05 17:13:02 UTC
Created attachment 351221 [details] [review]
media-keys: Remove video-out and rotate-video handling

These are the sole remaining users of the xrandr plugin DBus API which
we want to remove in order to move the functionality to mutter. The
key binding handling will be moved to mutter as well.
Comment 3 Rui Matos 2017-05-05 17:13:08 UTC
Created attachment 351222 [details] [review]
power: Stop using an xrandr plugin setting to suspend on lid close

In practice this shouldn't change behavior since it's unlikely people
would have changed the setting from its default of
GSD_XRANDR_BOOT_BEHAVIOUR_FOLLOW_LID.

The setting hasn't really made sense since mutter took over all
display configuration and we'll remove it soon.
Comment 4 Rui Matos 2017-05-05 17:13:14 UTC
Created attachment 351223 [details] [review]
xrandr: Remove plugin

This functionality is moving to mutter and the DBus API is no longer
used.
Comment 5 Bastien Nocera 2017-05-06 09:39:24 UTC
Review of attachment 351220 [details] [review]:

You'll also need to file a bug against gnome-session to update the session file. Otherwise the session will fail to start.

> This functionality is moving to mutter.

A bit short on details. Please use:
See https://bugzilla...
to reference the mutter bug in question.

acn pending the mutter changes, obviously.
Comment 6 Bastien Nocera 2017-05-06 09:41:55 UTC
Review of attachment 351221 [details] [review]:

I couldn't find anything in the mutter patches that implemented the equivalent of "VIDEO_OUT_KEY".
Comment 7 Bastien Nocera 2017-05-06 09:43:21 UTC
Review of attachment 351222 [details] [review]:

Please check with the original author of this code. I didn't care for this code either fwiw.
Comment 8 Bastien Nocera 2017-05-06 09:44:27 UTC
Review of attachment 351223 [details] [review]:

Again, needs a reference to gnome-session for it to start successfully.
Comment 9 Jeremy Bicha 2017-06-03 14:01:26 UTC
(In reply to Bastien Nocera from comment #5)
> You'll also need to file a bug against gnome-session to update the session
> file. Otherwise the session will fail to start.

Please update gnome-initial-setup and gnome-shell-extensions too. I think gnome-initial-setup does not need to start every gnome-settings-daemon plugin but we just copied gnome-shell's list since it was easiest.
Comment 10 Rui Matos 2017-07-18 19:48:09 UTC
Comment on attachment 351220 [details] [review]
orientation: Remove plugin

Attachment 351220 [details] pushed as 3d527b4 - orientation: Remove plugin
Comment 11 Rui Matos 2017-07-19 09:58:33 UTC
(In reply to Bastien Nocera from comment #6)
> I couldn't find anything in the mutter patches that implemented the
> equivalent of "VIDEO_OUT_KEY".

This has meanwhile been implemented and pushed now.

(In reply to Bastien Nocera from comment #7)
> Please check with the original author of this code. I didn't care for this
> code either fwiw.

Ok, sent an email to Paolo Bonzini. His intent isn't completely clear
to me from just reading
https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=a95d9cdf0d1e69c171a17af7fbb8f75869cd54b9

(In reply to Bastien Nocera from comment #8)
> Again, needs a reference to gnome-session for it to start successfully.

I'll push gnome-session, gnome-initial-setup and
gnome-shell-extensions patches to trim the session components list.


Attachment 351221 [details] pushed as e4ad610 - media-keys: Remove video-out and rotate-video handling
Attachment 351222 [details] pushed as 5db4d74 - power: Stop using an xrandr plugin setting to suspend on lid close
Attachment 351223 [details] pushed as cbf313e - xrandr: Remove plugin