Summary: | Okular crashes on Print preview | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Siddhartha <kde> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aacid, david.hurka, yurchor |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/okular/commit/cb3426d024971f6de424fbeed1b94869222eb10f | Version Fixed In: |
Description
Siddhartha
2020-02-03 20:42:53 UTC
How recent is your "compiled from sources"? Built from the latest master (commit on Feb 1): okular-git-r8658.c6d937ab0 Garg, i shouldn't have merged the code from David from phabricaotr without using invent. The unittests would have found it. David can you please fix this mess? Yuri i guess this is the same thing you're seeing in Kile (In reply to Albert Astals Cid from comment #4) > Yuri i guess this is the same thing you're seeing in Kile Yes, both problems can be removed after reverting 0d5bd0bc43b26e94833b133afc2fbbdb66346652 I think it is a problem because Print Preview opens a new window with another ToggleActionMenu? I will try to investigate, maybe tomorrow. Maybe it is a good Idea to drop ToggleActionMenu. ... To fix this, just d->aMouseModeMenu needs to be nullptr-initialized in the PageView constructor. Apparently I forgot that when I created D21971. How can I create a merge request? On the invent.kde.org website, I am apparently not allowed to do so. Via the git command line, I get an error that I am not allowed to do so. And via email, I get a reply that I am not allowed to do so... (In reply to David Hurka from comment #7) > To fix this, just d->aMouseModeMenu needs to be nullptr-initialized in the > PageView constructor. Apparently I forgot that when I created D21971. > > How can I create a merge request? On the invent.kde.org website, I am > apparently not allowed to do so. Via the git command line, I get an error > that I am not allowed to do so. And via email, I get a reply that I am not > allowed to do so... Can you fork the repo? If so, just commit into your clone then create merge request. Git commit cb3426d024971f6de424fbeed1b94869222eb10f by Albert Astals Cid. Committed on 09/02/2020 at 23:42. Pushed by aacid into branch 'master'. Fix crash when not in viewer mode M +1 -0 ui/pageview.cpp https://invent.kde.org/kde/okular/commit/cb3426d024971f6de424fbeed1b94869222eb10f |