[Xquartz-dev] 2.3.2-rc4 full screen oddities

Viv Kendon V.Kendon at leeds.ac.uk
Sun Dec 28 16:27:12 PST 2008


I'm back...haven't sorted out the RetroOffice cut+paste 
problems but I have installed X11.bin-20081224 and 
Xquartx-1.4.2-apple29 on top of my rc4 installation and 
tried the full screen stuff again.  With these newer 
versions of X11.bin and Xquartz the dropped opt-a doesn't 
appear, and the strip of Aqua desktop has also gone.  Good 
work!

The Spaces full-screen interactions are still really 
strange...comments below.  None of the rest of this post is 
important for 2.3.2 release.

On Sun, 21 Dec 2008, Jeremy Huddleston wrote:

>>> Well, you'd have to switch to space 6...
>> 
>> Exactly...only once I'm in full screen I can't find a way to do that: is 
>> there something I'm missing?
>
> I think the only way is the menubar control.  In System Preferences->Spaces, 
> click the option to add a control to the menu bar...

I already have that.  In X11 preferences I checked the 
auto-show menu-bar in full screen mode box (I didn't do 
that in my previous testing).  And now I can get to 
different screens while in full screen mode, with a brief 
flash back into Aqua on the way.

>> If I go to screen 6 first then cmd-opt-a into full screen, well, things 
>> just get worse, with the effects mentioned below.  In the Spaces 
>> preferences I have unchecked the option to have Spaces switch to a screen 
>> with active windows when selecting an app, but this sort of switching still 
>> happens,
>
> Are you using 2.3.1 or 2.3.2_rc4?  2.3.2_rc4 should support that spaces 
> checkbox.

I meant in the Expose+Spaces preferences, at the bottom, the 
option to have Spaces switch to a Space with open windows 
for an application if you select that application.  I have 
that unchecked, I don't want Spaces to do that.  But it 
still does quite of lot of that sort of switching between 
Spaces when I didn't ask it to.  Especially around X11 
windows.  For example...

Start X11, open an xterm or two, and switch to full-screen 
mode in the X11 preferences.  cmd-opt-a out of X11, switch 
to another space, and start RetroOffice by clicking on the 
dock icon for it.  I get switched to X11 full-screen mode 
(as I should) but flipped to the Space in which I started 
X11, where RetroOffice then opens.

cmd-opt-a out of X11, go back to rootless mode via the X11 
preferences, and drag the RetroOffice window to Space 6, and 
an xterm to Space 5, leaving an xterm in Space 2 where X11 
was started.  drag the X11 preferences to Space 5.  select 
full screen mode again.  the X11 windows vanish (as they 
should) and I get switched to Space 2 (which I shouldn't).

cmd-opt-a into X11 full screen and open another xterm so I 
have two in the same Space.  Now it is pretty easy to find 
sequences of cmd-opt-a and menu bar Space switching that end 
up with only one of the X11 windows visible where there 
should be two.  Interleaving a Terminal (or other Aqua) 
window between the two while in rootless mode is a pretty 
good bet for triggering it.  I think the other one is 
"behind" the root window, because if I go back to rootless 
mode it is still where I left it.

I even managed at one point to get both the Finder menu bar 
and the X11 menu bar superimposed, but I don't have a 
reliable way to reproduce that (yet).  And I just lost focus 
from X11 entirely while typing, so characters went into the 
Terminal window "behind" and switched me to Aqua without a 
cmd-opt-a.  I think this is probably the long-standing focus 
stealing bug that may be iCal related (I have iCal running). 
And I have managed to get the root window hiding all X11 
windows in a Space while moving around too (I can check 
which space I'm in with the menu bar now...)

Another reliable way to get out of full-screen using the 
menu bar only is to click on the menu bar to drop focus from 
the X11 window, run the mouse along to the Spaces control so 
the drop-down appears, then, without selecting anything, run 
the mouse back to the left so the drop-down goes away.  That 
lands you back in Aqua-land but with X11 still having focus.

I think I'm going to stop testing with quartz-wm and set up 
full screen with a different window manager.  I don't think 
how X11 full screen works with Spaces is a high priority. 
But I do care a lot about the focus stealing and would 
really like that fixed so it doesn't happen except for 
drastic events like system shutdown.  It is much more 
intrusive when working in full-screen, especially when it 
flips you back to Aqua without warning.

>>>> (How did I get into this state in the first place?  well, I was trying to 
>>>> test the cmd-opt-a thing in another app, and RetroOffice (X11 build of 
>>>> NeoOffice) was open on Space 6...it's an app bundle so it is natural to 
>>>> start it in a different space. and yes, it does react to cmd-opt-a, by 
>>>> doing "select all".)
>>> 
>>> Well if it's an X11 application with an app bundle... then it's either got 
>>> its own X11 server or its using ours... which is the case?
>> 
>> It uses xquartz, it doesn't bundle its own:
>> http://neowiki.neooffice.org/index.php/RetroOffice
>
> Ans meta-alt-a is a key-sequence in RetroOffice for select-all?

Both ctl-a and cmd-a appear to do select all.  I think 
RetroOffice has some Aqua key bindings as well as 
traditional X11 key bindings.

>>>> Finally, something also appears to have changed with the cut and paste in 
>>>> relation to RetroOffice, I can't find a combination of pasteboard options 
>>>> that allows the ctr-c and ctl-v that should work within the app to 
>>>> function properly.
>>> 
>>> How so?
>> 
>> ctl-c on a selection followed by ctl-v pastes something previously copied 
>> from elsewhere in X11 land, or whatever cmd-c last copied.  I have the X11 
>> preferences window open and the only pasteboard option I have checked is 
>> "enable syncing.  So RetroOffice is not copying (or cutting) into the 
>> buffer it then pastes from.  But I'll have to get back to you after I've 
>> had a chance to revert to the previous RetroOffice version and test in a 
>> more vanilla account, log out, reboot, etc., etc..
>
> Well, file this bug with Retrooffice then.  If all you have selected is the 
> 'enable syncing' option and no sub option, that's the same as it being 
> completely disabled =/

RetroOffice doesn't do bugs, it only exists for debugging 
NeoOffice.  I'm testing with it because I can't test at work 
using the Ooo on linux I first had cut+paste problems with, 
until we are back in the New Year on 5th Jan.  I'll come 
back on this one once I've reverted to the previous 
RetroOffice version...it may be it has picked up some 
NeoOffice code that interacts with the Aqua Pasteboard 
independently of X11, because cmd-v works to paste in 
it...hmmm.

cheers,
-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds



More information about the Xquartz-dev mailing list