<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>214020</bug_id>
          
          <creation_ts>2009-11-10 19:38:18 +0000</creation_ts>
          <short_desc>embedded viewer does not get focus</short_desc>
          <delta_ts>2011-12-15 23:29:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>okular</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergei Ivanov">svivanov</reporter>
          <assigned_to name="Okular developers">okular-devel</assigned_to>
          <cc>cubranic</cc>
    
    <cc>michel.ludwig</cc>
    
    <cc>svivanov</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.8.0</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>859415</commentid>
    <comment_count>0</comment_count>
    <who name="Sergei Ivanov">svivanov</who>
    <bug_when>2009-11-10 19:38:18 +0000</bug_when>
    <thetext>Version:           2.0.83 (using KDE 4.3.3)
OS:                Linux
Installed from:    Ubuntu Packages

To reproduce: configure QuickBuild to use ForwardDVI and the latter to use okularpart. Hit Alt-1 when in a latex file, wait for the DVI viewer to appear. Try to use arrow keys to scroll - they have no effect until you hit Escape or click on the viewer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>963022</commentid>
    <comment_count>1</comment_count>
    <who name="Michel Ludwig">michel.ludwig</who>
    <bug_when>2010-05-17 00:11:27 +0000</bug_when>
    <thetext>I&apos;m not sure whether Kile can do much here. I&apos;ve tried to force OkularPart to have the focus but it doesn&apos;t work.

So, I&apos;m forwarding this to Okular as probably some focus settings are wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>992720</commentid>
    <comment_count>2</comment_count>
    <who name="Davor Cubranic">cubranic</who>
    <bug_when>2010-07-21 23:26:56 +0000</bug_when>
    <thetext>Bug 240516 reports a similar issue when Okular is embedded in Konqueror to view a PDF URL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1200309</commentid>
    <comment_count>3</comment_count>
    <who name="Albert Astals Cid">aacid</who>
    <bug_when>2011-12-15 23:29:50 +0000</bug_when>
    <thetext>Git commit 6176e29256eb417d76d898955d5345ce340d1384 by Albert Astals Cid.
Committed on 16/12/2011 at 00:25.
Pushed by aacid into branch &apos;master&apos;.

Use a queued connection instead of direct call

It seems some shells (like konqueror and kile) are too smart and play with the focus and the focus ends up in the wrong place because they &quot;overwrite&quot; our setFocus call, now we workaoround that by using the queuedconnection
BUGS: 214020
BUGS: 240516
FIXED-IN: 4.8.0

M  +1    -1    part.cpp

http://commits.kde.org/okular/6176e29256eb417d76d898955d5345ce340d1384</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>