QTodoTxt2
QTodoTxt2 copied to clipboard
No menu displayed in Ubuntu 16.04
Hi, and thank you for this excellent software which I have been using since now in version 1.x When switching to version 2, I lost the main menu, which is annoying as there seems to be a lot of new functions in the Preferences dialog -- which I cannot access now. Please help. Best, Stephen
After looking around for the configuration file, I have found QTodoTxt2.conf Tried to add the show_menu=true instruction, but it did not trigger the menu to be displayed.
Older version of Ubuntu use menus on top of screen
Yes, you are right. However, whatever the way menus are displayed (integrated in the window or not), they are not displayed in QToDoTxt2.
Then it is probably a big/limitation of qml on that Linux version and we cannot do anything at qtodotxt2 level
This is a LTS version.
Stephen Sinclair http://asitemade4u.com/?utm_source=stephen_email&utm_medium=email&utm_content=logolink&utm_campaign=current_stephens_email email: [email protected] mailto:[email protected] web: aSiteMade4U.com http://asitemade4u.com/?utm_source=stephen_email&utm_medium=email&utm_content=logolink&utm_campaign=current_stephens_email cell: (914) 334-2929
On 03/29/2018 08:43 AM, oroulet wrote:
Then it is probably a big/limitation of qml on that Linux version and we cannot do anything at qtodotxt2 level
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/QTodoTxt/QTodoTxt2/issues/96#issuecomment-377223245, or mute the thread https://github.com/notifications/unsubscribe-auth/AK7eChAGprmejKhQKc0V0N-EIAjBNwZoks5tjNcLgaJpZM4S_mWE.
Have you tried moving your mouse over the bar at the top of the screen? In Ubuntu 16.04, they often hide the top menu bar until the mouse hovers over it.
If that doesn't help, this might be useful information:
https://askubuntu.com/questions/785238/removing-global-menu-bar-ubuntu-16-04
Yes I have, to no avail.
Hello, I have the same problem in ubuntu 16.04 LTS: menu is nowhere to be found.
Hello,
I did some further research and found this issue. Right at the end it says that it is a Qt bug that is fixed in Qt 5.9.0. Ubuntu 16.04 is using Qt version 5.5.1. So I upgraded with:
pip3 install --user pyqt5
That brings the version to 5.11.2 which did not work at all, probably because it is not compatible with earlier versions. Then I tried:
pip3 install --user pyqt5==5.10.1
Now the menu appeared but filtering in QTodoTxt2 was not working. If somebody knows a way to properly upgrade PyQT5 under Ubuntu, it might work.
If you start qtodotxt.pyw from a terminal you see the following error:
appmenu-qt: handleReparent 138 The given QWindow has no QMenuBar assigned
I googled and found a working solution: disable appmenu support on a per application basis by setting the UBUNTU_MENUPROXY variable to null. You can do this by giving the following command in a terminal or by launching it with the Alt+F2 shortcut:
env UBUNTU_MENUPROXY= /your-path-to/QTodoTxt2/bin/qtodotxt.pyw
Only if I do this I see another error:
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Private/MenuContentItem.qml:178: ReferenceError: Acccessible is not defined
I did not yet notice any impact of this error.
Cheers,
Henk
The last error is a typo (Acccessible with 3 c's) in that file. I have corrected it myself. Also, has nothing to do with QTodoTxt2