New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Tooltip causing app window to unfocus #797
Comments
Yeah I can repro on windows with the following: #include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Pack.H>
int main() {
Fl_Window win(400, 300, "Window");
Fl_Pack pack(160, 20, 80, 300);
pack.spacing(5);
for (int i = 0; i < 5; i++) {
auto btn = new Fl_Button(0, 0, 0, 40, "Button");
btn->tooltip("Button");
}
pack.end();
win.end();
win.show();
win.redraw();
return Fl::run();
} |
Good to know. I guess we should move this to a C FLTK issue then. |
I was looking at the fltk source code and it seems to be related to this line: |
Should be fixed upstream, see fltk/fltk#261 (comment) |
Hi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Tooltip causing app window to "unfocus"
To Reproduce
Expected behavior
Window should stay in focus when tooltip shows.
Screenshots
Notice how the icon for the app "unfocuses" in the toolbar
I'm guessing this has something to do with the tooltip being a window?
Desktop info
The text was updated successfully, but these errors were encountered: