budgie-desktop issues after changing fractional scaling on 4K monitors

Bug #1972007 reported by Mauro Gaspari
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
budgie-control-center (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Medium
fossfreedom
budgie-desktop (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Medium
fossfreedom

Bug Description

[Impact]

 * Fractional scaling is an inherited option from Ubuntu's
   patching to mutter. Budgie supports fractional scaling
   through its GNOME Control Center equivalent called
   Budgie Control Center
 * Through our community forum scaling issues have been reported
   when setting fractional scaling. Two key issues:
   1. Budgie graphical elements such as the menu and quicknote
      popovers are not displayed correctly
   2. When the screensaver lock-screen is invoked the whole
      desktop violently flashes for several seconds before being
      left on a lock-screen with a dialog that is partially/
      not visible
 * To support fractional scaling properly under budgie requires
   two actions:
   1. Inform the user when using fractional scaling that they
      need to restart their user session for part 1 above to
      be resolved
   2. Disable the screensaver lock screen - user needs to be
      informed that this will occur when using fractional
      scaling
 * This bug is resolved in two linked packages
   1. budgie-desktop where the message to restart the session
      is displayed
   2. budgie-control-center where fractional scaling is set
      by the user.

[Test Plan]

 * Without the two package updates these issues occurs as follows:
   1. Open budgie-control-center - choose the Displays side tab
   2. On the right-hand side of the screen click on the fractional
      switch and choose a fractional scaling from the drop-down e.g.
      125%
   3. Observe the confirmation message - it just says "Does the display
      look OK?"
   4. Logout and login
   5. Look at the lock settings in budgie-control-settings - displayed - click automatic lock switch to turn on automatic locking
      with a period of time - for example 5 minutes and a delay value
   6. Wait until the display turns off - wait the further specified time
      after the display turns off.
   7. Move the mouse and watch the screen flash repeatedly until
      the lock screen dialog appears - partially/not at all. Note - for some setups the screen with flash repeatedly
      immediately after the screen first turns off.
   8. Type the password (even if the dialog is not visible) and press return
      The desktop should be displayed again.

 * Enable the proposed repo and then install the updates - the following packages
   needs to be installed

   sudo apt install budgie-control-center budgie-control-center-data budgie-desktop budgie-core libraven0 libbudgie-plugin0 libbudgie-private0 libbudgietheme0 gir1.2-budgie-1.0

 * Test fractional scaling:
   1. Open budgie-control-center - choose the Displays side tab
   2. On the right-hand side of the screen click on the fractional
      switch and choose a fractional scaling from the drop-down e.g.
      125%
   3. Observe the confirmation message - it should now inform you to restart the session.
   4. Look at the lock settings - the automatic lock should be turned off and disabled from editing
   5. logout and login
   6. Wait until the display turns off - note the desktop/lockscreen wallpaper normally reappears immediately but the desktop will be not be visible
      It is normal to see the lock screen wallpaper either covering part or all of the screen
   7. Move the mouse and watch the desktop reappear
   8. turn off the fractional scaling switch. Note that the automatic lock switch now becomes editable. Turn on automatic lock
   9. Logout and login again
   10. Note: no fractional scaling would be used now - wait for the screen to turn off and the lock screen period should invoke
      the lock dialog when the mouse is moved.

 * Regression testing
   The testing to ensure no regressions occur in this area.
   1. Connect more than one display - the desktop should display according how the displays are arranged on the screen
   2. Choose different values for the lock screen - this should affect when the screen display first turns off.

[Where problems could occur]

 * The changes are specifically around fractional scaling
   handling.
   Since this is in a budgie specific package (budgie-control-center)
   this will not impact any other desktop.
 * The changes are in the same code section of budgie-control-center as display handling
   and lock screen turn on/off
 * Thus from a regression view point handling of any display issues may be impacted.
 * From a mitigation point of view - in the unlikely event of an issue occuring, Ubuntu Budgie
   also ships with gnome-control-center which can be used to handle displays and lock screen.
   Note GCC prior to 22.04 has always been used to manage displays and the lock screen

[Other Info]

 * N/A

----

Affected systems: Ubuntu Budgie 22.04 LTS
budgie-desktop version: 10.6.1-1

Using 4K monitor, default scaling is set to 100%. This is too small for comfortably using or installing system. After changing to 125% or 150%, budgie-desktop starts having issues with AppMenu. Some other Applets also have issues.

It was noted that logging off and logging in after the change, solves all issues. However there is no prompt for user to re-log after changing settings.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: budgie-desktop 10.6.1-1
ProcVersionSignature: Ubuntu 5.15.0-27.28-lowlatency 5.15.30
Uname: Linux 5.15.0-27-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: Budgie:GNOME
Date: Sat May 7 00:31:15 2022
InstallationDate: Installed on 2022-04-09 (27 days ago)
InstallationMedia: Ubuntu-Budgie 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220406)
PackageArchitecture: all
SourcePackage: budgie-desktop
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mauro Gaspari (ilvipero) wrote :
Revision history for this message
Mauro Gaspari (ilvipero) wrote :

As stated in bug report, a simple log off and login is enough to resolve, per attached screenshot.
However users are not prompted to log off.
It would be very good for user experience to add log off prompt after scaling options changes.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in budgie-desktop (Ubuntu):
status: New → Confirmed
Changed in budgie-desktop (Ubuntu Jammy):
importance: Undecided → Medium
assignee: nobody → fossfreedom (fossfreedom)
Changed in budgie-control-center (Ubuntu Jammy):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → fossfreedom (fossfreedom)
Changed in budgie-desktop (Ubuntu Jammy):
status: New → Confirmed
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package budgie-control-center - 1.0.2-1

---------------
budgie-control-center (1.0.2-1) unstable; urgency=medium

  * New upstream release
    - display sound icons when testing the sound output
    - small typo fix in oc language
    - version bump for gsettings schemas i.e. BCC is for GNOME 42 and later
    - Rework fractional scaling support for distros that include the mutter
      patch (LP: #1972007)
    - Support VNC Screen-sharing with GNOME 42 GNOME Remote Desktop
      (LP: #1973117)
  * Adapt GCC ubuntu specific language & region chooser to ensure
    language & locale selection is displayed and able to choose from
    (LP: #1970255)
    ubuntu/Adapts-the-region-capplet-and-the-language-chooser-in-the.patch
  * Packaging Changes
    - Drop existing patch since incorporated in the microrelease
    - d/rules add clean and configure rules to apply ubuntu specific patch

 -- David Mohammed <email address hidden> Thu, 12 May 2022 14:31:10 +0100

Changed in budgie-control-center (Ubuntu):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package budgie-desktop - 10.6.1-1ubuntu1

---------------
budgie-desktop (10.6.1-1ubuntu1) kinetic; urgency=medium

  * Bug-fix
    - Update message displayed to users when fractional scaling is used
      to ensure the correct course of action (restart session) is done
      (LP: #1972007)
      fractional.patch

 -- David Mohammed <email address hidden> Tue, 10 May 2022 09:35:51 +0100

Changed in budgie-desktop (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mauro Gaspari (ilvipero) wrote :

Quick update from my side.

I tested the changes thoroughly on my work laptop. I followed instructions in test plan, and results are exactly as described there.

Excellent results on multiple external monitors, and no bugs to report.

Changed in budgie-control-center (Ubuntu Jammy):
status: Confirmed → In Progress
Changed in budgie-desktop (Ubuntu Jammy):
status: Confirmed → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Mauro, or anyone else affected,

Accepted budgie-desktop into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/budgie-desktop/10.6.1-1ubuntu1~22.04 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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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 budgie-desktop (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Changed in budgie-control-center (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Mauro, or anyone else affected,

Accepted budgie-control-center into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/budgie-control-center/1.0.1-2ubuntu2 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-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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.

Revision history for this message
Mauro Gaspari (ilvipero) wrote :

Testing of this new package completed on both amd64 architecture, using a laptop with intel+nvidia, and arm architecture using raspberry PI4. Both updated with jammy-proposed updated to may 20 2022.
budgie-control-center version 1.0.1-2

Tests performed step by step per test plan in bug description. Both computers worked well, test results were exactly as expected, and budgie applets did not have any issue. No regressions to report.

I found a bug only on raspberry pi caused by fractional scaling, but since it does not affect applets, I will file it as a separate bug.

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

This bug was fixed in the package budgie-desktop - 10.6.1-1ubuntu1~22.04

---------------
budgie-desktop (10.6.1-1ubuntu1~22.04) jammy; urgency=medium

  * Bug-fix
    - Update message displayed to users when fractional scaling is used
      to ensure the correct course of action (restart session) is done
      (LP: #1972007)
      fractional.patch

 -- David Mohammed <email address hidden> Tue, 10 May 2022 09:35:51 +0100

Changed in budgie-desktop (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package budgie-control-center - 1.0.1-2ubuntu2

---------------
budgie-control-center (1.0.1-2ubuntu2) jammy; urgency=medium

  * Bug-fix
    - Ensure lock-screen does not break budgie-desktop fractional scaling
      support (LP: #1972007)
      Rework-fractional-scaling-to-disable-the-lock-screen.patch
    - Ensure screen-sharing starts VNC through enabling systemd
      (LP: #1973117)
      remote-desktop-service-enable.patch
    - Update previous changelog with the actual patch file name

 -- David Mohammed <email address hidden> Fri, 13 May 2022 10:51:18 +0100

Changed in budgie-control-center (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for budgie-desktop 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.