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

Bug #1007053 reported by Eduard Gotwig
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)
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)
Changed in gala:
status: New → Confirmed
importance: Undecided → Low
Changed in gala:
status: Confirmed → Fix Committed
assignee: nobody → Tom Beckmann (tombeckmann)
Changed in gala:
milestone: none → luna-beta1
Changed in gala:
status: Fix Committed → Fix Released
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

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).

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

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
Changed in gala:
milestone: luna-beta2 → luna-beta3
Changed in gala:
milestone: luna-beta3 → none
Revision history for this message
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)
Changed in gala:
milestone: none → 0.2
Revision history for this message
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.

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

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?

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :

Here is the patch ~itprojects meant to post

Changed in gala:
status: Confirmed → In Progress
Revision history for this message
Rico Tzschichholz (ricotz) wrote :
Revision history for this message
Rico Tzschichholz (ricotz) wrote :

Pushed to eos/testing for luna/isis

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

Revision history for this message
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)
Changed in elementaryos:
milestone: none → freya-beta1
status: Confirmed → In Progress
Cody Garver (codygarver)
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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