| Summary: | no context menu when no document opened: not possible to restore from full screen | ||
|---|---|---|---|
| Product: | [Unmaintained] kpdf | Reporter: | Wilbert Berendsen <wbsoft> |
| Component: | general | Assignee: | Albert Astals Cid <aacid> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.4 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Wilbert Berendsen
2005-03-05 12:45:46 UTC
CVS commit by aacid:
Show contect menu when in FullScreen even if no document is open.
Thanks for notyfing will be in KDE 3.4.1
BUGS: 100881
M +5 -0 pageview.cpp 1.44.2.3
--- kdegraphics/kpdf/ui/pageview.cpp #1.44.2.2:1.44.2.3
@@ -835,5 +835,10 @@ void PageView::contentsMouseReleaseEvent
// don't perform any mouse action when no document is shown
if ( d->items.isEmpty() )
+ {
+ // ..except for right Clicks (emitted even it viewport is empty)
+ if ( e->button() == RightButton )
+ emit rightClick( 0, e->globalPos() );
return;
+ }
// don't perform any mouse action when viewport is autoscrolling
|