Candidate list with ibus in fullscreen mode |
Sik
|
Making a separate thread since this is a different bug.
The issue is simple: if the window is fullscreen (even SDL_WINDOW_FULLSCREEN_DESKTOP), the candidate list won't be visible. The reason for this is that the fullscreen window ends up on top of it. I was trying to look for a workaround and eventually found this: http://standards.freedesktop.org/wm-spec/1.3/ar01s07.html#STACKINGORDER It appears that fullscreen windows that have focus will be on top of everything else no matter what, even on top of always-on-top windows. So it seems there isn't any proper way to fix this except messing with the protocol (*again*, as if we didn't have fullscreen problems before...). For more realistic fixes, I can only think of the following two: 1) Have a way to take control over the candidate list so the program itself draws it instead of ibus. This is the hard way and requires an API change, and I'm not sure how much does ibus allow to do. It's bound to be the most stable though if it works. 2) Temporarily remove the _NET_WM_STATE_FULLSCREEN flag when entering text input mode (and restoring it when exiting it). I have absolutely no idea how stable this would be, but it should allow the candidate list window float on top of the SDL window. The upside is that this would work as-is if implemented (no API changes, no need to modify programs). Any comments? _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
Candidate list with ibus in fullscreen mode |
Alex Baines
Guest
|
This might require some changing of code in SDL as you suggest, however
as I've mentioned in the past, the list is appearing above fullscreen_desktop windows for me. I'm interested if the candidate list works for other fullscreen applications for you, maybe try getting it to appear in Firefox or Chromium in their fullscreen F11 modes. If they don't work either, it might be a misconfiguration on your end (even though I know you said you were using a vanilla install more or less.) If they do work, then It would be interesting to find out what they are doing differently. On 27/07/14 11:31, Sik the hedgehog wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
Candidate list with ibus in fullscreen mode |
Sik
|
2014-07-27 11:46 GMT-03:00, Alex Baines:
The spec gives some wiggle room, it's perfectly possible for a window manager to decide to override that order (e.g. windows may be grouped by layers, each with their own order). The order mentioned there is what you should usually expect though, and it seems to be what's going on here.
Just tried it on Firefox, it works just fine. I believe Firefox just resizes the window though, but I could be wrong (I never looked at its code after all). _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|