[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-04-16 Thread Bogdan Butnaru
OK, I just checked. The fading-when-dragged-windows part is gone.

But the most annoying one is the first part. Do you have any more info
from upstream on what's wrong with my proposed fix?

Remember that not only are windows hidden under full-screen ones, but
they also get the focus, which is doubly wrong.

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-04-15 Thread Basilio Kublik
** Changed in: compiz (Ubuntu)
 Assignee: Basilio Kublik (sourcercito) = (unassigned)

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-04-15 Thread Travis Watkins
Part 2 is fixed in Ubuntu, your fix for part 1 is not acceptable
upstream.

** Changed in: compiz (Ubuntu)
   Status: Incomplete = Confirmed

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-04-10 Thread Basilio Kublik
Hi there
you report this issue some time ago and hasn't been any activity for a while, 
so i was wondering if this is still an issue for you under the development 
version of Ubuntu, Hardy Heron.

Thanks in advance

** Changed in: compiz (Ubuntu)
 Assignee: (unassigned) = Basilio Kublik (sourcercito)
   Status: New = Incomplete

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-04-10 Thread Bogdan Butnaru
Yes, it still happens in a just-updated Hardy.

I have fixed this several times, and I sent patches to some devs but
have been ignored. I think the patches are stale now, but it's easy to
fix. If any of the devs contacts me I can send another one. (The fix is
described above, anyway.)

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-03-12 Thread Travis Watkins
The second half of this bug will be fixed in the next upload of compiz.

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-02-18 Thread Travis Watkins
** Changed in: compiz (Ubuntu)
   Importance: Undecided = Low

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-02-04 Thread Tim O'Callaghan
It does the same for the default livecd screen setup with the AMD64 Ubuntu 8.04 
alpha on my laptop with an Nvidia Chipset.
Using the gnome-appearance-properties tab, and switching from normal back to 
compviz effects seems to work for me.

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-01-24 Thread Bogdan Butnaru
De-assigning myself. I fixed this, but I have no idea how to send the
fix in.

** Changed in: compiz (Ubuntu)
 Assignee: Bogdan Butnaru (bogdanb) = (unassigned)

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-01-24 Thread Bogdan Butnaru
You have to download the source to compiz, make a small change, compile
and install it.

To download:
$ apt-get source compiz

The change: Find in the file src/window.c these lines:

  if (stackingMode != CompStackingUpdateModeNone)
{
 Bool aboveFs;
 aboveFs = (stackingMode == CompStackingUpdateModeAboveFullscreen);
 mask |= addWindowStackChanges (w, xwc, findSiblingBelow (w, aboveFs));
}

And change the line that starts with aboveFs to:

 aboveFs = (stackingMode == CompStackingUpdateModeAboveFullscreen) ||
(stackingMode == CompStackingUpdateModeInitialMap);

Then you need to compile it:

$ sudo apt-get build-dep compiz
$ ./configure
$ make

(You need to be in the root directory of the package, which gets
created by apt-get source in the first step. It's the one above the
src directory. If you compile it several times, you don't need to run
the first command each time; once is enough.)

Then you need to install it, which is actually the most annoying part.
You just run

$ sudo make install

and it puts the new compiz in /usr/local/bin. That's easy enough, but
you have to modify the /usr/bin/compiz file, which is a script, to run
yours instead of Ubuntu's. If you know a tiny bit of scripting it's easy
though. The annoying thing is that on every update of compiz the file
gets re-written. I just keep a copy somewhere and replace it when that
happens, but I'm sure there must be a better way...

(Note that in the package installed by Ubuntu the executable is called
compiz.real, and compiz is a script that runs it with some
arguments. The compiled one has the executable called compiz and no
script (that I can see). I suppose you could play with the ./configure
script, if you're so inclined.)

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2008-01-24 Thread snozle
I am having this issue on the eeePC and it's quite annoying because I
like to run at full screen all the time because of the small screen. I
saw that there is a fix, by altering the code. I've never done that
before but I would be willing to and I have some experience in
programming. What steps do I have to follow exactly? I know I would have
to download the compiz source, but for which package?

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2007-12-01 Thread Bogdan Butnaru
** Changed in: compiz (Ubuntu)
 Assignee: (unassigned) = Bogdan Butnaru (bogdanb)

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2007-11-21 Thread Bogdan Butnaru
I've just did some more testing, and it seems the second part of this
bug is caused by the same issue that causes bug #162762.

When the user initiates moving a window using the Alt+drag combination,
compiz calls (among other things)

 updateWindowAttributes(w,CompStackingUpdateModeAboveFullscreen) followed by
 updateWindowAttributes(w,CompStackingUpdateModeNone)

However, when the user initiates a window move by dragging its title
bar, the calls are:

 updateWindowAttributes(w, CompStackingUpdateModeAboveFullscreen)
 raiseWindow(w)
 updateWindowAttributes(w, CompStackingUpdateModeNone)

However, the call to raiseWindow(w) contains a call that looks like
addWindowStackChanges (w, xwc, findSiblingBelow (w, FALSE)), which
actually causes the window to be re-stacked _below_ any fullscreen
windows. As I mentioned in bug #162762, I don't see any reason why that
FALSE shouldn't be TRUE, so using the fix I proposed there should fix
part 2 of this bug, too.

Alternatively, if there is a very good reason why raiseWindow does
things the way it does now, probably the raiseWindow should be replaced.

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2007-11-21 Thread Bogdan Butnaru
Hello! I've done a bit of hacking through Compiz' sources, and I think I
found the reason for the first problem.

As far as I could follow the process, Compiz calls
updateWindowAttributes() on newly-created windows, with the stackingMode
argument set to CompStackingUpdateModeInitialMap. This function is
supposed to set the window's stacking, among other things. For instance,
at one point it runs:

if (stackingMode != CompStackingUpdateModeNone)
{
Bool aboveFs;
aboveFs = (stackingMode == CompStackingUpdateModeAboveFullscreen);
mask |= addWindowStackChanges (w, xwc, findSiblingBelow (w, aboveFs));
}

Which raises the given window on top of everything if the stacking mode
is CompStackingUpdateModeAboveFullscreen. So newly-created windows are
placed below full-screen ones, because they're not mentioned in that
test. This might seem like a good idea, except that they're given focus
(don't know where), which means that input would go to a window that's
not visible (bad thing). Also, this is highly counter-intuitive (for
instance, starting Firefox's download manager with FF in full-screen
appears to be not working).

I changed the snippet above to contain

aboveFs = (stackingMode == CompStackingUpdateModeAboveFullscreen)
|| (stackingMode == CompStackingUpdateModeInitialMap);

and now the stacking is the way I'd expect it. Does anyone think it can
break something that way?

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2007-10-19 Thread Bogdan Butnaru
I'm not so sure. I have none of the symptoms described there. Also,
there is absolutely no corruption visible, it's as if Compiz thinks
that's what's supposed to happen.

By the way, I have the exact same behavior on firegl and intel drivers,
on two different computers. On the ATI card Compiz runs on Xgl, while
the intel machine doesn't eves have Xgl installed, so I guess we can
exclude driver issues here. (Unless someone can't reproduce this at
all.)

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 153676] Re: full-screen windows sometimes hide windows that should be above them

2007-10-19 Thread Philipp Kohlbecher
This may be related to #153204.

-- 
full-screen windows sometimes hide windows that should be above them
https://bugs.launchpad.net/bugs/153676
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs