-
Notifications
You must be signed in to change notification settings - Fork 356
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
fix issues with windowed pdf-viewer #3419
Conversation
@@ -3898,6 +3913,7 @@ bool PDFDocument::closeElement() | |||
else if (dwOverview && dwOverview->isVisible()) dwOverview->hide(); | |||
else if (configManager->useEscForClosingEmbeddedViewer && isVisible()) { | |||
// Note: avoid crash on osx where esc key is passed to hidden window | |||
toggleFullScreen(false); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what scenario is fixed here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before closing the window we need to undo the changes done for fullscreen window mode.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see 3rd list item of PR
actionMagnify=configManager->newManagedAction(menuroot,menuView, "magnify", tr("&Magnify"), this, "", QList<QKeySequence>(),"magnifier-button"); | ||
actionScroll=configManager->newManagedAction(menuroot,menuView, "scroll", tr("&Scroll"), this, "", QList<QKeySequence>(),"hand"); | ||
actionMagnify=configManager->newManagedAction(menuroot,menuView, "magnify", tr("&Magnify"), pdfWidget, SLOT(magnifierClicked()), QList<QKeySequence>(),"magnifier-button"); | ||
actionMagnify->setCheckable(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now magnify can also be unchecked in the menu ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, needs to be fixed
I find it hard to decipher what changes are supposed to do what, so I would prefer smaller PR. |
This PR solves following issues found in the UI of the internal windowed pdf-viewer