Compiler warnings in x11-Add-support-for-fractional-scaling-using-Randr.patch

Bug #1874207 reported by Daniel van Vugt
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mutter (Ubuntu)
Fix Released
Medium
Marco Trevisan (Treviño)
Focal
Fix Released
Medium
Marco Trevisan (Treviño)
Groovy
Fix Released
Medium
Marco Trevisan (Treviño)

Bug Description

There are a couple of compiler warnings apparently caused by x11-Add-support-for-fractional-scaling-using-Randr.patch:

[427/1390] Compiling C object 'src/25a...ends_meta-monitor-config-manager.c.o'.
../src/backends/meta-monitor-config-manager.c: In function ‘assign_monitor_crtc’:
../src/backends/meta-monitor-config-manager.c:226:3: warning: enumeration value ‘META_LOGICAL_MONITOR_LAYOUT_MODE_GLOBAL_UI_LOGICAL’ not handled in switch [-Wswitch]
  226 | switch (data->config->layout_mode)
      | ^~~~~~
[471/1390] Compiling C object 'src/25a..._x11_meta-monitor-manager-xrandr.c.o'.
../src/backends/x11/meta-monitor-manager-xrandr.c: In function ‘meta_monitor_manager_xrandr_get_capabilities’:
../src/backends/x11/meta-monitor-manager-xrandr.c:1169:18: warning: ‘capabilities’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1169 | capabilities |= META_MONITOR_MANAGER_CAPABILITY_TILING;
      | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

tags: added: champagne
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in mutter (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
status: Triaged → In Progress
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Looks like I linked the wrong bug in the changelog, this is fixed for groovy though

Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Changed in mutter (Ubuntu Focal):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Daniel, or anyone else affected,

Accepted mutter into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mutter/3.36.2-1ubuntu1~20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in mutter (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Fix verified in focal version 3.36.2-1ubuntu1~20.04.1

tags: added: verification-done verification-done-focal
removed: verification-needed verification-needed-focal
tags: removed: champagne
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.36.2-1ubuntu1~20.04.1

---------------
mutter (3.36.2-1ubuntu1~20.04.1) focal; urgency=medium

  * Backport to focal (LP: #1877209)
  * debian/gbp.conf: Set branch to ubuntu/focal
  * debian/control: Update VCS references to focal branch
  * debian/rules: Revert groovy/debian build changes as per dh 13

mutter (3.36.2-1ubuntu1) groovy; urgency=medium

  * Merge with debian, including new upstream release:
    - Fix super key not working with secondary layout (LP: #1871913)
  * xrandr-scaling: Fix compiler warnings (LP: #1874207)
  * xrandr-scaling: Take care of global UI scale when restoring from config
    (LP: #1825593)
  * Remaining changes with debian:
    - debian/control:
      + Update VCS flags to point to ubuntu salsa branch
    - debian/gbp.conf: update branch to point to ubuntu/master
    - debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      + X11: Add support for fractional scaling using Randr

mutter (3.36.2-1) unstable; urgency=medium

  * Team upload

  [ Simon McVittie ]
  * New upstream stable release
    - Fix FTBFS with Wayland disabled (non-Linux kernels)
    - X11 copy/paste/selection fixes (LP: #1852183)
    - Fix freeze with some DisplayLink devices
    - Fix a memory leak
    - Synchronize shadows to server-side decorations
    - Fix overview key on X11 when using multiple keyboard layouts
    - Fix painting the redraw clip with the damage region
    - Fix capturing with multiple stage views
    - Fix screencasting of non-maximized windows (LP: #1873942)
    - Various misc fixes and cleanups (LP: #1874818)
    - Update translation: de

  [ Marco Trevisan (Treviño) ]
  * debian/libmutter-6-0.symbols: Update
  * debian/rules: Ignore build failures on riscv64

mutter (3.36.1+git20200419-1) unstable; urgency=medium

  * Team upload

  [ Simon McVittie ]
  * New upstream snapshot from gnome-3-36 branch (3.36.1-42-gda9eb4718)
    - Fix trackball button scrolling
    - Fix tiled (MST) displays
    - Copy/paste fixes, particularly for large images and incremental
      transfers
    - Fall back to closed laptop lid configuration if no other available
      (LP: #1793496)

  [ Jeremy Bicha ]
  * Drop obsolete dh_strip dbgsym migration rule
  * Bump debhelper-compat to 13
    - dh_missing --fail-missing is the default
    - dh_auto_test has several default improvements
    - dh_autoreconf isn't needed with meson
  * debian/watch: Only watch for stable releases

mutter (3.36.1-4) unstable; urgency=medium

  * Team upload
  * Merge changelog from unstable
  * Upload to unstable (starts transition: #954422)
  * Update to upstream gnome-3-36 branch, commit 3.36.1-17-g9a2471db4
    - Fix caps-lock state becoming confused on VT switch
  * d/gbp.conf: Follow upstream/3.36.x branch

 -- Marco Trevisan (Treviño) <email address hidden> Thu, 07 May 2020 03:22:16 +0200

Changed in mutter (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for mutter has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.