News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Help closing tabs after another window has taken focus

Started by goishin, January 23, 2012, 11:22:49 PM

Previous topic - Next topic

goishin

I'm not sure what's going on here, and it's possible I'm not searching for the right terms. But I'm having a problem getting the close button on tabs to work after another window has taken focus. For example: I do something in code::blocks. A dialog box comes up. I close the dialog box. Then I go back to coding, save the doc and now I want to close the code page I'm on. But the 'x' on the code page tab doesn't work. I have to alt-tab to something else, then immediately alt-tab back, and only then does the 'x' on the code page tab work.

I've searched for help on the forums, because I'm hopeful that I'm not the only one seeing this. But I must be using the wrong search terms because I'm not seeing any other posts about this.

Does anyone know how to get this to work right?

- Goishin

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

goishin

Oops, sorry about that :(

  OS: Ubuntu 10.04
C::B: 10.05 (Build: Feb 22, 2011, 10:27:30 - wx2.8.11(Linux, unicode) -64 bit

And I'm not sure what WM means.

- Goishin

oBFusCATed

Window manager.

Do you have some kind 'focus follow mouse' option enabled? If you have please try with it disabled.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

goishin

Not that I'm aware of. I generally despise those :)

- Robb

oBFusCATed

'Follow focus mouse' is one great feature, but it is broken in wxGTK and in Flash, this made me stop using it :(

Could I ask you to build wx2.8 from source and then test the aui sample?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

It works fine here with an actual revision of C::B, with dialogs from inside C::B and dialogs from other applications.
System is debian unstable/experimental 64 bit, wxWidgets 2.8.12, gnome-shell.

Is it be possible for you to try a nightly build from my repo.

And the aui sample can be tested without building wx2.8 from source, just building the sample with make -f makefile.unx should be enough.
YOu most likely need the sources to get the samples, but I'm not absolutely sure about this (they might also be included in one of the wx packages).