windows with no saved state should appear in the center of the screen

Bug #1007053 reported by Eduard Gotwig on 2012-05-31
72
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Gala
Invalid
Wishlist
Unassigned
elementary OS
Fix Released
Low
Cassidy James Blaede

Bug Description

windows with no saved state should appear from the center of the screen, so windows that are usually started for the first time.

This is already set up in the pantheon compiz profile.

Related branches

Eduard Gotwig (gotwig) on 2012-05-31
summary: - windows with no saved state should appear from the center of the screen
+ windows with no saved state should appear in the center of the screen
Cody Garver (codygarver) on 2012-06-02
Changed in gala:
status: New → Confirmed
importance: Undecided → Low
Changed in gala:
status: Confirmed → Fix Committed
assignee: nobody → Tom Beckmann (tombeckmann)
Daniel Fore (danrabbit) on 2012-06-02
Changed in gala:
milestone: none → luna-beta1
Changed in gala:
status: Fix Committed → Fix Released

Tom and Rico, this doesn't seem to be working for me. The majority of windows seem to be opening at 0,0 (or as close to that as possible).

As an addition to that note, I should say that it's mostly the case with non-elementary developed apps or utilities, but some elementary apps are included. I've noticed it specifically with: Movie Player, Shotwell, Geary, Document Viewer, Maya, Simple Scan, Inkscape, GParted, Disk Manager, Scratch, Kazam, and basically any other app. ;)

I think the thing is that these apps aren't explicitly telling the wm where to map them, so they get mapped as close to 0,0 as possible without overlapping the panel or other apps' titlebars. Attached is a screenshot after I opened up a bunch of the aformentioned apps.

Changed in gala:
status: Fix Released → Confirmed
milestone: 0.1 → luna-beta2
Changed in gala:
assignee: Tom Beckmann (tombeckmann) → nobody
Daniel Fore (danrabbit) on 2012-12-23
Changed in gala:
milestone: luna-beta2 → luna-beta3
Daniel Fore (danrabbit) on 2013-03-25
Changed in gala:
milestone: luna-beta3 → none
Tom Beckmann (tombeckmann) wrote :

This requires changes in mutter's code, so it's nothing I'd target to beta3. Maybe we can revisit that later.

Changed in gala:
importance: Low → Wishlist
Cody Garver (codygarver) on 2013-03-26
Changed in gala:
milestone: none → 0.2
Rubén Reina (ruben-reina-dev) wrote :

This doesn't work for me either. For instance, I have to move Google Chrome to the center each time I open it.

Another revisit from Cassidy! This is one of those persistently annoying things I run into and would love if we could fix. Do you know if there's been any progress in Mutter for this?

ITPROJECTS (itprojects) wrote :

If there are so many people affected by this bug, can it please be changed to "High" priority? Also, only one or two other bugs have "heat" = 62 (or Launchpad.net user forum importance), for example the one ahead is a SIGSEGV = 354 heat.

ITPROJECTS (itprojects) wrote :

Altered files:

place.c prefs.c prefs.h org.gnome.mutter.gschema.xml.in

 to place normal windows in center, for bugfix.

Tested w.r.t. packages:

libmutter0_3.4.1-0ubuntu99~elementary7_amd64
mutter-common_3.4.1-0ubuntu99~elementary7_all

No changes needed in Gala, setting is a tickbox in dconf:
org.gnome.mutter

Here is the patch ~itprojects meant to post

Changed in gala:
status: Confirmed → In Progress
Rico Tzschichholz (ricotz) wrote :
Rico Tzschichholz (ricotz) wrote :

Pushed to eos/testing for luna/isis

mutter - 3.10.4-0ubuntu99~elementary1
mutter - 3.4.1-0ubuntu99~elementary8

opensas (opensas) wrote :

possibly duplicate issue: https://bugs.launchpad.net/elementaryos/+bug/1316909

I'd like every app (not just those developed for eos) to remember it's position when they are opened.

Changed in gala:
status: In Progress → Invalid
Changed in elementaryos:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Cassidy James (cassidyjames)
Cody Garver (codygarver) on 2014-07-10
Changed in elementaryos:
milestone: none → freya-beta1
status: Confirmed → In Progress
Cody Garver (codygarver) on 2014-07-10
Changed in elementaryos:
status: In Progress → Fix Released
Changed in elementaryos:
assignee: Cassidy James (cassidyjames) → nobody
assignee: nobody → Cassidy James (cassidyjames)
Changed in gala:
milestone: 0.2 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions