Ticket #103 (closed usability: fixed)

Opened 5 years ago

Last modified 5 years ago

inconsistent window stacking order after space change

Reported by: tgl@… Owned by: jeremyhu@…
Priority: Nice to Have Milestone: 2.3.1
Component: xserver Version: 2.2.1 (xserver-1.3.0-apple20)
Keywords: Cc:

Description

Create a couple of overlapping X11 windows. Flip from this space to another space and back, repeatedly (I'm doing this with control-downarrow then control-uparrow). It seems to be about a fifty-fifty bet which window will be shown as on top of the other during any given visit to the space. Focus order seems to be preserved, though, which means that sometimes you can click on what is shown as the top window and have your click delivered to the one underneath (which had been the top window before you started flipping).

If you throw some non-X11 windows into the mix (I'm trying it with Safari) things get weirder still. I haven't entirely characterized the behavior, but stacking order relative to the non-X windows is unstable too.

2.2.1 not 2.2.0

Change History

comment:1 Changed 5 years ago by tgl@…

Hm, no, it's not so random as all that: after doing a whole bunch of space-switch cycles, it seems that the stacking order is shown correctly two times out of three and incorrectly every third time. I'd have preferred "random" --- this is just weird.

comment:2 Changed 5 years ago by jeremyhu@…

  • Status changed from new to assigned
  • Version changed from 2.2.0 (xserver-1.3) to 2.2.1 (xserver-1.3)
  • Milestone set to 2.3.1

Can you please give me precise instructions on how to reproduce this? I can't trigger it given what you have described.

comment:3 Changed 5 years ago by tgl@…

Hmm, after logging out and in I can't reproduce the every-third-time business either. Will keep poking at it, but I wonder if it was related to one of the bugs I filed earlier today. In the meantime, here is a reproducible stacking-order misbehavior:

  • create a new standard user and log in as him
  • enable Spaces via System Preferences, then quit System Preferences
  • Open Applications/Utilities via Finder, drag X11 into Dock

-- leave this Finder window open; on a big monitor, drag it up towards upper left corner of screen

  • Start X11 by clicking on Dock icon
  • Command-N to open a second xterm

-- at this point, second xterm is atop first is atop finder window

  • Control-down-arrow to move to space 3
  • Mouse down on X11 icon in dock, pick Applications->Terminal
  • Control-uparrow
  • Control-downarrow
  • Control-uparrow

I now see Finder window atop xterm 2 atop xterm 1, which is 100% backwards.

comment:4 Changed 5 years ago by jeremyhu@…

  • Milestone changed from 2.3.1 to 2.3.2

comment:5 Changed 5 years ago by jeremyhu@…

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone changed from 2.3.2 to 2.3.1

I can't reproduce this in 2.3.1. Please try 2.3.1_rc5 and reopen if you're still having problems.

Note: See TracTickets for help on using tickets.