Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.15 on Mac OS X does not swap displays with 'S' #178

Open
simplygood opened this issue May 22, 2016 · 1 comment
Open

v1.15 on Mac OS X does not swap displays with 'S' #178

simplygood opened this issue May 22, 2016 · 1 comment

Comments

@simplygood
Copy link

I use a hombrew prebuild binary (bottle). If I click 'S', the screens do not swap, but they comes out of full screen mode. If I click again, they go back to full screen mode without swapping.

@dannyedel
Copy link
Owner

I will do what I can as soon as I have access to a macintosh, or of course if someone sends a patch (I do not own a Mac)

@wwwdata: since it worked for you, can you help figuring out what's different about your Mac vs. @simplygood's?

Some ideas:

  1. If compilation works, you might have luck trying if the WIN32 style setScreen method works for you, see
    #if defined(POPPLER_QT5) && defined(_WIN32)
    static QList<QScreen *> screens = QApplication::screens();
    if ( m_monitor < numeric_cast<unsigned>(screens.count()) )
    this->windowHandle()->setScreen(screens[m_monitor]);
    else
    this->windowHandle()->setScreen(0);
    this->showFullScreen();
    about how it is currently done on windows (simply remove the && defined (WIN32) part and it should work this way on your mac aswell)
  2. Since the Qt4 style worked, try recompiling in Qt4 mode and see if that makes a difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants