Req ALWAYS ON TOP (KEEP FOCUS)
#1
Hi,

and thank you for your work!

I would like to suggest to consider this http://forum.kodi.tv/showthread.php?tid=258640 feature in the last version.

Talking with other KODI user, they were very happy to install this mod. It solves their losing focus issue.

Thank you!!!

Quote:Revisiting my previous proposal of an always-on-top option for Kodi (see here and here et al. in the DX11 test thread).

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?

Jarvis:
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.
Isengard:
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):
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).
Once I figure out a way to work around these issues without breaking anything else, I will PR this. Enjoy.

Edit:
2016-02-04 - Added Github repo for your convenience.
2016-02-05 - Updated Jarvis build to 16.0 RC3
2016-02-21 - Minor improvements (Jarvis branch only); Update to 16.0 Final
2016-03-07 - Added 16.1 RC1 build
2016-04-18 - Better late than never: Updated Jarvis build to 16.1 RC2
2016-04-24 - Updated Jarvis build to 16.1 Final
[/php]
Reply
#2
+ 1 Although I haven't tried this patch.... I run Kodi in "full screen mode" ( I seem to have a slightly higher CPU load by using "Full Window") and also use the Playon service so I can watch Netflix & Amazon through Kodi and via other Kodi clients around the house. As soon as a playon stream is started Kodi will lose focus.

To some extent using the "focusbitch" found in the Supplemental tools kind of does the trick - Kodi minimises for a couple of seconds, not ideal, but better than nothing.....

whether the above is a permanent solution, I don't know? I guess this is just a Windows issue?
Reply

Logout Mark Read Team Forum Stats Members Help
ALWAYS ON TOP (KEEP FOCUS)1