visibility of docks cannot be toggled when menubar is hidden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qpdfview |
New
|
Undecided
|
Unassigned |
Bug Description
Bug description:
Visibility of docks cannot be toggled when menubar is hidden.
Reproducible:
Always.
Proposed solution:
I think this is a problem with Qt. As a workround I just toggle the height of the menubar between 0 and QWIDGETSIZE_MAX. In Gentoo I apply the following user patch:
diff --git a/sources/
index 02ac3fd..707abe6 100644
--- a/sources/
+++ b/sources/
@@ -2227,7 +2227,7 @@ void MainWindow:
void MainWindow:
{
- menuBar(
+ menuBar(
}
void MainWindow:
To apply this manually in a non-git repository the patchfile can be placed in the root of the project directory and be applied as follows:
patch -p1 < qpdfview-
System Information:
qpdfview version: 0.4.18
build-time options: CONFIG+
operating system: Gentoo Linux
installed dependencies:
-- net-print/
-- app-text/
-- app-text/
-- app-text/
-- dev-qt/
-- dev-qt/
-- dev-qt/
-- dev-qt/
-- dev-qt/
-- dev-qt/
-- app-text/
-- dev-qt/qtxml-5.15.2 (dev-qt/qtxml) amd64
-- dev-qt/qtsql-5.15.2 (dev-qt/qtsql) amd64 [sqlite]
-- dev-qt/qtsvg-5.15.2 (dev-qt/qtsvg) amd64
-- virtual/
-- app-text/
-- dev-util/
-- x11-misc/
-- dev-qt/
-- virtual/pkgconfig-2 (virtual/pkgconfig) amd64
The command to apply the patch manually must of course be:
patch -p1 < qpdfview- 0.4.18- menubar. patch