wmdiem / euclid-wm

Automatically exported from code.google.com/p/euclid-wm
5 stars 2 forks source link

Duplicate entries in stack #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open up a variety of windows, I see this most often with xterm pidgin and 
chrome
2. Swap windows and relay out them out regularly
3. Notice that there are multiple copies of the same window in the stack also. 
Also some times a window I currently have up is also iun the stack. Swapping 
with the entry in the stack normally resolves the issue. I have not noticed 
when the new entry is created unfortunately

What is the expected output? What do you see instead?
I expect to only see one entry per window on the stack and I expect to not see 
it displayed and on the stack at the same time.

What version of the product are you using? On what operating system?
I have seen this with both 0.3.0 and 0.4.0-rc1

Original issue reported on code.google.com by zoddi...@gmail.com on 15 Dec 2011 at 4:26

GoogleCodeExporter commented 9 years ago
Correction 0.3.1

Original comment by zoddi...@gmail.com on 15 Dec 2011 at 5:33

GoogleCodeExporter commented 9 years ago
Thanks for the report. 
I haven't seen this behavior. Next time you notice it, can you make a note of 
what you just did, then go to a fresh workspace/view and see if you can 
reproduce it? Even if we don't get precise repro conditions, just knowing what 
the last action was before the duplicate shows up could help me track it down. 

Original comment by wmd...@gmail.com on 15 Dec 2011 at 7:16

GoogleCodeExporter commented 9 years ago
I will watch for it and post repro instructions when I have identified them.

Original comment by zoddi...@gmail.com on 15 Dec 2011 at 7:39

GoogleCodeExporter commented 9 years ago
I have found a repro case... It is unfortunately another chrome one :-/

If you turn on multiple profile support in chrome, so you can have two profiles 
open in different windows you can do the following.

Assuming that the profiles are called A and B.

Start in A, open another window using B, push the B window to the stack, open 
another B window from A, now you have two windows for B, one on the stack and 
one displayed. These are actually the same window, so if you try to swap them 
you end up with one of the two Bs disappearing.

Original comment by zoddi...@gmail.com on 20 Dec 2011 at 4:27

GoogleCodeExporter commented 9 years ago
Having pidgin open and clicking on a user name when you have a conversation 
window already open has the same effect of creating two copies of the same 
window. 

It appears that when gtk based programs are asked to create a window that it 
already has it just refocuses. Euclid appears to not be accounting for this 
correctly, so ends up displaying the window and having it on the stack. 
Possible fix, when displaying a window, walk the stack and make sure there 
isn't any copies left there?

Original comment by zoddi...@gmail.com on 20 Dec 2011 at 4:31

GoogleCodeExporter commented 9 years ago
Okay, that should be enough for me to work with. Another, perhaps easier, way 
to repro this, is to put a browser in the stack, then to open in from a 
terminal (e.g., google-chrome www.google.com or iceweasel www.google.com). 
A bug that was similar to this came up a while ago, but it had much worse 
consequences (issue 17).

Original comment by wmd...@gmail.com on 20 Dec 2011 at 8:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r221.

Original comment by wmd...@gmail.com on 15 Dec 2013 at 8:12

GoogleCodeExporter commented 9 years ago
fixed in rev221

Original comment by wmd...@gmail.com on 15 Dec 2013 at 8:12