| Summary: | SDL_SetWindowTitle not setting the window title on Gnome Classic | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sik <sik.the.hedgehog> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus, metalcaedes |
| Version: | HG 2.0 | Keywords: | target-2.0.4, triage-2.0.4 |
| Hardware: | x86_64 | ||
| OS: | Linux | ||
|
Description
Sik
2015-03-10 17:15:24 UTC
This is indeed an inconsistency in the platform-specific backends: If the given title is NULL or "", the SDL_window's title is set to NULL and it is then passed to the platform-specific SetWindowTitle() implementation. And X11_SetWindowTitle indeed only changes the title if it's != NULL, while WIN_SetWindowTitle() calls SetWindowText() with "", if the title is NULL. I didn't look at the other platform backends. (sorry if you get a lot of copies of this email, I'm marking several bugs at once) Marking bugs for the (mostly) final 2.0.4 TODO list. This means we're hoping to resolve this bug before 2.0.4 ships if possible. In a perfect world, the open bug count with the target-2.0.4 keyword is zero when we ship. (Note that closing a bug report as WONTFIX, INVALID or WORKSFORME might still happen.) --ryan. This is now fixed in https://hg.libsdl.org/SDL/rev/067b78126485, thanks! --ryan. |