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

Journal placed above Home after startup #769

Closed
quozl opened this issue Jul 3, 2017 · 7 comments · Fixed by #810
Closed

Journal placed above Home after startup #769

quozl opened this issue Jul 3, 2017 · 7 comments · Fixed by #810
Labels

Comments

@quozl
Copy link
Contributor

quozl commented Jul 3, 2017

In previous versions, Sugar startup shows the home view, a busy cursor, asynchronously starts the journal, and then turns off the busy cursor leaving the home view available.

In Ubuntu 17.10 Artful, Sugar startup shows the home view, a busy cursor, but the journal window is created above the home window.

Related to sugarlabs/sugar-toolkit-gtk3#368

@satellitee
Copy link

also found in fedora soas f27 and f28 rawhide
https://bugzilla.redhat.com/show_bug.cgi?id=1519042

quozl added a commit that referenced this issue Feb 20, 2018
* installed 2018-02-14 `bionic-desktop-amd64.iso`
  bc4fb656f38cae355d00c8a1bb03bef3 in kvm,

* installed `sucrose` package,

* tested using `rdesktop` per development-environment.md, with a test
  account; defects were Browse fail to start (Debian #881879, fixed in
  v201.4), and mouse cursor bad shape (rdesktop specific),

* tested using native session; defect was Ubuntu GNOME session started
  instead of Sugar session, workaround is to remove `gdm3` and use
  `lightdm`, so this is a `gdm3` specific problem,

* in both tests, reproduced #769 (Journal placed above Home after
  startup).
quozl added a commit that referenced this issue Mar 13, 2018
* installed Fedora-Workstation-Live-x86_64-28-20180312.n.0.iso in
  virtualbox,

* sudo dnf groupinstall sugar-desktop,

* verified Sugar desktop does start normally,

* reproduced several known problems, such as #769 (Journal placed above
  Home after startup).
@quozl
Copy link
Contributor Author

quozl commented Nov 24, 2018

Caused by upgrade of metacity from 3.24.0 to 3.25.2, git bisect shows first bad commit is unminimize windows with initial IconicState if first known on MapRequest ported from mutter.

@nullr0ute
Copy link

We should probably report it upstream with metacity to get details.

@quozl quozl added the errata label Nov 26, 2018
quozl added a commit to quozl/sugar that referenced this issue Nov 27, 2018
Journal covers Home View on startup when Metacity is 3.25.1 or later,
isolated to Metacity 6875256 ("unminimize windows with initial
IconicState if first known on MapRequest").

Detect the window state event where ICONIFIED is cleared without any
action by the user.  Repeat the iconify request.

Has side-effect of showing a Metacity iconify animation, but this is
better than not fixing it.

Fixes sugarlabs#769

Fixes sugarlabs/sugar-toolkit-gtk3#368

Tested on Fedora 18 and Ubuntu 16.04; does not trigger.

Tested on Ubuntu 18.04; does trigger.
@quozl
Copy link
Contributor Author

quozl commented Nov 27, 2018

Thanks, that would be great. I could not figure out where to report it upstream.

@aperezbios
Copy link
Contributor

@quozl
Copy link
Contributor Author

quozl commented Nov 28, 2018

@aperezbios, thanks. Banner blindness. https://gitlab.gnome.org/GNOME/metacity/issues/4

@quozl
Copy link
Contributor Author

quozl commented Nov 29, 2018

Fixed in GNOME/metacity@074af8f

@quozl quozl closed this as completed Nov 29, 2018
quozl added a commit that referenced this issue Nov 29, 2018
Journal covers Home View on startup when Metacity is 3.25.1 or later,
isolated to Metacity 6875256 ("unminimize windows with initial
IconicState if first known on MapRequest").

Detect the window state event where ICONIFIED is cleared without any
action by the user.  Repeat the iconify request.

Has side-effect of showing a Metacity iconify animation, but this is
better than not fixing it.

Fixes #769

Fixes sugarlabs/sugar-toolkit-gtk3#368

Tested on Fedora 18 and Ubuntu 16.04; does not trigger.

Tested on Ubuntu 18.04; does trigger.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants