<div dir="ltr"><div><div>Hi,<br></div><div>  Request feedback for this patch.<br></div><div>  This patch implements the enhancement in #6311.<br><br><div style="margin-left:40px">Qt4: Show seek time in OSD when mouse seeking<br>
----------<br>As requested in: ​<a href="http://forum.videolan.org/viewtopic.php?f=14&t=98209&p=330282">http://forum.videolan.org/viewtopic.php?f=14&t=98209&p=330282</a><br>
<br>Some people would want to see mouse seek positions in OSD when Qt4 interface is used. Currently only keyboard hotkeys (e.g. Ctrl+arrow keys) and interface button seeks show position in OSD. The new seek slider shows small time text when seeking, but it is too small for common HTPC usage scenarios.<br>

</div><br></div>  On seek in the UI slider, an OSD update is triggered to the hotkeys module. The same API (DisplayPosition) as the keyboard shortcuts is invoked for the OSD.<br><br></div><div>  I found this task on the "Mini_Projects/Help_Fixing_bugs" section of the VideoLAN Wiki.<br>
</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><br>-----<br>Ancelot Mark Pinto<br>Mumbai, India</div></div>
<br><br><div class="gmail_quote">On Sat, Aug 23, 2014 at 9:47 PM, Ancelot Mark Pinto <span dir="ltr"><<a href="mailto:ancelotpinto@gmail.com" target="_blank">ancelotpinto@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Close #6311<br>
---<br>
 modules/gui/qt4/input_manager.cpp | 3 +++<br>
 1 file changed, 3 insertions(+)<br>
<br>
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp<br>
index 1a04f51..9850874 100644<br>
--- a/modules/gui/qt4/input_manager.cpp<br>
+++ b/modules/gui/qt4/input_manager.cpp<br>
@@ -798,7 +798,10 @@ void InputManager::UpdateProgramEvent()<br>
 void InputManager::sliderUpdate( float new_pos )<br>
 {<br>
     if( hasInput() )<br>
+    {<br>
         var_SetFloat( p_input, "position", new_pos );<br>
+        var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_POSITION );<br>
+    }<br>
     emit seekRequested( new_pos );<br>
 }<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.9.1<br>
<br>
</font></span></blockquote></div><br></div>