Bug 338433 - 2 monitors: uses wrong display size if started from different monitor
Summary: 2 monitors: uses wrong display size if started from different monitor
Status: RESOLVED DUPLICATE of bug 286146
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.19.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 09:15 UTC by Nicolas
Modified: 2014-08-23 13:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas 2014-08-21 09:15:43 UTC
I have a 2-monitor set-up and one has a higher resolution than the other (192x1200 vs 1280x1024) and these are "bound" together with nvidia twinview (KDE correctly knows about both monitors).

The bug is as follows: 
  - open a document and make it full screen on the big monitor
  - close it
  - open a new document on the right monitor (eg. via dolphin on the small monitor)

Result: Okular does not show up in the "native" full screen of the small monitor but rather uses the full screen size of the big screen.

Expected: When starting okular on the small screen, use the native full screen size of the small monitor, not from the big one.
Comment 1 Albert Astals Cid 2014-08-21 17:21:51 UTC
I don't understand what you mean by "Result: Okular does not show up in the "native" full screen of the small monitor but rather uses the full screen size of the big screen."

Can you give us a screenshot? Or photo? or try to be more clear at what you mean.
Comment 2 Nicolas 2014-08-21 18:28:03 UTC
What I meant is that the Okular window has the size of the bigger screen (1920x1200) although the current/active screen is 1280x1024. I.e. the window is bigger than the screen. Although I expected that it would just go full screen.
Comment 3 Albert Astals Cid 2014-08-21 19:40:31 UTC
Is Okular the only app that does this? I don't see why it would be different from any other app.
Comment 4 Nicolas 2014-08-22 07:49:03 UTC
Okay, I've tested a few apps: Some (or most?) of them (dolphin, kbibtex, korganizer) show the same behaviour as described above.
But there are also apps which work correctly (e.g. kate, ktikz, gwenview). Some even ignore the "active" screen (e.g. rekonq, vlc).

So yes, this is not a specific problem of okular, but it seems to be possible to address this problem somehow.
Comment 5 Albert Astals Cid 2014-08-22 21:18:33 UTC
KWin people, some input on this?
Comment 6 Thomas Lübking 2014-08-22 21:27:02 UTC
Please specify "full screen" - okulars presentation mode, maximized of hand picked dimension?
In doubt obtain the outputs of "xprop" and "xwininfo" on the window.

In case of "maximized", this is probably the KMainWindow size restorage issue.
See bugs linked here:
https://git.reviewboard.kde.org/r/114484/
Comment 7 Nicolas 2014-08-23 07:57:54 UTC
Oh yes, it looks like thats the problem.
Comment 8 Albert Astals Cid 2014-08-23 13:22:52 UTC

*** This bug has been marked as a duplicate of bug 286146 ***