[Okular-devel] [Bug 304526] New: okular --unique does not raise its existing window

Sergei Ivanov svivanov at pdmi.ras.ru
Fri Aug 3 23:16:22 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=304526

            Bug ID: 304526
          Severity: normal
           Version: 0.14.3
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: okular --unique does not raise its existing window
    Classification: Unclassified
                OS: Linux
          Reporter: svivanov at pdmi.ras.ru
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: okular

When okular is started with "--unique" and an instance is already running, its
window is not raised. I was hit by this problem when I tried to use okular as
an external PDF viewer in kile.


Reproducible: Always

Steps to Reproduce:
1. In a terminal, run 'okular --unique somefile.pdf &'
2. Make sure the okular window overlaps with the terminal one.
3. Raise the terminal window (or any other that overlaps with okular's).
4. Run 'okular --unique somefile.pdf &' again

Actual Results:  
On the second run, the existing okular window gets redrawn but is not raised.
It stays below the  terminal window. This happens even when 'Focus stealing
prevention level' in kwin configuration is set to 'None'.


Expected Results:  
The window should be raised. Every other program with 'one window'
functionality does this.

Okular always had this problem (in KDE3 days too). I did not report it back
then just because I had no use for the "--unique" option until recently.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list