2017-07-08, 03:28
(2016-02-02, 21:28)Shine Wrote: Revisiting my previous proposal of an always-on-top option for Kodi (see here and here et al. in the DX11 test thread).thanks for your update. Great tutorial.
I haven't had any time yet to try and fix the remaining issue (see below), so I didn't PR it against master, but I saw people asking for an always-on-top option during Jarvis beta phase. So I figured I could just provide the patch as-is for now.
How does it work?
The patch provides an option in System -> Video output (settings level: Advanced or higher) that makes Kodi the topmost window, ie. other windows won't be able to cover it. Also, in true fullscreen mode, it won't automatically minimize when losing focus. This is particularly useful for multi-screen setups, so you can watch stuff with Kodi on one screen while working with other programs on another screen.
NB: The option is disabled by default, you will have to explicitly enable it!
How to get it?
Krypton:Jarvis:
- Precompiled Setup: Kodi 17.3 with Always-on-Top patch
- Github repo: Kodi 17.3 with Always-on-Top patch
- Build manually: Apply these commits to the Kodi Krypton branch and compile.
Isengard:
- Precompiled Setup: Kodi 16.1 with Always-on-Top patch
- Github repo: Kodi 16.1 with Always-on-Top patch
- Build manually: Apply these commits to the Kodi Jarvis branch and compile.
- Precompiled Setup: Kodi 15.2 with DX11 and Always-on-Top patch
- Github repo: Kodi 15.2 with DX11 and Always-on-Top patch
- Build manually: Patch the Kodi Isengard branch with afedchin's appropriate DirectX11 branch, then apply these three commits and compile.
Known issue (only applies to true fullscreen mode):Once I figure out a way to work around these issues without breaking anything else, I will PR this. Enjoy.
- If another always-on-top window pops up behind Kodi during video playback, Kodi will fall back to "fullscreen window" mode.
- If another always-on-top window pops up behind Kodi while the Kodi GUI is active, the GUI will freeze (not hang - you can still work blindly).