On 11-Apr-2002 mackstann wrote: > ok heres the first one: > > i'm surfing, lalala, then i switch to my 2nd workspace > where irc is, and all of a sudden there is a strange > white box there. it is above the other windows, it > has no decorations. i focused the windows behind it, > and then it was beneath them. clicking/right clicking > on it does absolutely nothing. i cannot use my > keycombo of ctrl+shift+E to toggle its decorations, i > cant do anything to it. reconfigging/restarting > blackbox did nothing. the only thing i could think of > to get info about it was to use xwininfo on it and you > can see the results of that, along with the window > itself, here: > > http://pixicore.org/mackstann/snapshot58.png (34k) > > not sure if this is even bb's fault but i just updated > to bb 0.62.1 a day or two ago, and have never seen > this before now. >
a) xwininfo is pretty useless, try 'xprop'. If the window says it is a transient for something, run xprop on the win id listed. b) I have moade some updates to how windows get parented in cvs, so this may have been fixed along with that. > second problem is one that i have noticed a couple > times. i am a very frequent user of the bbkeys action > "ToggleDecor", as you can see from my screenshot. the > problem i have found is that if i have a window w/o > decorations on one desktop, and then switch to a > desktop with no windows, and then try to ToggleDecor, > a window frame appears, with the title/size/shape of > the window that was focused on the last workspace i > was on. i can drag the window around, its just a big > frozen image of the desktop behind it, and when i drag > it the image gets all whacked out from the "X: 123 Y: > 123" that displays when you move a window. when i > switch back to the original workspace, the original > window has now taken the size/shape of the screwy one, > but is useable again, as normal. also if the screwy > window had its decorations on, the original window now > has them on. switching again to the empty workspace, > the screwy window has now disappeared. this is not > really a problem for me, this situation rarely happens > and when it does, its no big deal, but i figured you > would want to know. here is a screenshot of the > "screwy window": > My mind can see the deal with this one. toggleDecor says "find the window with focus and toggle the decor setting". Blackbox then makes the assumption that you tried to do this with a window right in front of you. A couple of functions are called with this assumption. The "screwy" window is the frame that would have been around the window on the obscured desktop it just does not have the window inside it. This is why when you switch back the window appears normal. bbkeys needs to check that 'current_workspace == window->getWorkspace()' and if not act accordingly. Please submit a bug on bbkeys.