Settings window randomly intends to snap to corners while in the background

Bug #2070271 reported by Yarma22

This bug report will be marked for expiration in 55 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell-extension-tiling-assistant (Ubuntu)
Incomplete
High
Unassigned

Bug Description

## Relevant information

 * GNOME Settings version: 46.0.1
 * Operating system (distribution): Ubuntu 24.04 LTS
 * Screenshots
   - Screencast of the visual cue disappearing after the Settings window is dragged, see Screencast_from_2024-06-23_21-06-32.webm

## Steps to reproduce:

1. Open GNOME Settings
2. I personally keep it open on the Wi-Fi settings pane, not sure if this is relevant to this bug though
3. Leave Settings open in the background, i.e. do not interact with the window anymore
4. Open some other apps
    - In case this is relevant, these are some of the apps I use when this issue happens: GNOME Files, GNOME Terminal, Firefox, LibreOffice, Sublime Text
5. Navigate between the apps (e.g. using Ctrl-Tab)
6. At this point, I can't tell for sure, but it seems that the issue usually happens right after coming back from full-screen display
    - e.g. watch a Youtube video in full-screen on Firefox, open a document in full-screen (Ctrl-Shift-J) in LibreOffice
    - Unfortunately, I don't remember if that was the case every time this issue happened (it's very rare and random), it could be that it also happened after navigating from an app that was only maximized –sorry for the lack of precision here
7. Very rarely (i.e. after navigating between apps for several hours/days/weeks), an visual cue (i.e. a transparent orange rectangle) is displayed over all the open windows indicating that a window is currently being snapped on one of the corners
    - This is the same visual cue that can be seen when dragging a window towards a corner with the mouse, before releasing the mouse click
    - To be clear, no snapping action has been initiated by dragging a window towards a corner
    - The visual cue never disappears from the screen, even when navigating between windows (e.g. with Alt-Tab)
    - Even though the visual cue is visible, it's not clear which window is attempting to snap
    - In particular, it's clearly not the window that has focus which is being snapped since dragging it with the mouse doesn't affect the visual cue
    - The window that has focus still responds to input, e.g. from keyboard
8. Navigate to the Settings window (e.g. with Alt-Tab)
9. Start to drag the Settings window with the mouse
10. The visual cue disappears as soon as the dragging action starts
    - To be clear, this only happens when dragging the Settings window, i.e. dragging any other window doesn't make the visual cue disappear, which makes me think that this bug is specific to Settings

This issue was initially reported to Gnome Settings bug center and the maintainers redirect me here, see:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3104

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-control-center 1:46.0.1-1ubuntu7
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 24 14:19:43 2024
InstallationDate: Installed on 2019-11-20 (1678 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to noble on 2024-05-15 (40 days ago)

Revision history for this message
Yarma22 (yarma22) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. It seems similar to bug #2064646 , could you try with the SRU once it's accepted if it resolves your issue?

affects: gnome-control-center (Ubuntu) → gnome-shell-extension-tiling-assistant (Ubuntu)
Changed in gnome-shell-extension-tiling-assistant (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Yarma22 (yarma22) wrote :

Thanks for your feedback @seb128 :)

The use-case in Bug #2064646 seems a bit different though, as this seems to affect the window that currently has focus. In the issue I reported, Settings has been in the background for several hours/days before suddenly initiating the faulty snapping action.

I'll try with the SRU and let you know the outcome. Please note that the issue is very random, sometimes it happens a couple times a day, but I actually had to wait for several weeks for it to happen again so that I could take a screenshot and file a bug report.

description: updated
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.