-
Notifications
You must be signed in to change notification settings - Fork 440
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
Hotkeys not working in 1024x768 and 800x600 resolution #515
Comments
Those hotkeys are defined in OpenBoard completely independent of the screen resolution. So I would suggest you check some more things to identify the problem:
|
I tried it with the last version: 1.6.1. |
I can actually reproduce this behavior on Linux and will try to track it down further when I have some spare time. So @kaamui , please add the "Bug" label. |
I think I found an at last theoretical explanation of the behavior:
So we have to add the action to other widgets, which are visible in this situation. |
maybe something to do with https://doc.qt.io/qt-5/qt.html#ShortcutContext-enum |
Don't believe so. The context of these actions is already set to |
The attached very simple patch resolves the issue: --- a/src/core/UBApplication.cpp
+++ b/src/core/UBApplication.cpp
@@ -550,6 +550,9 @@ void UBApplication::decorateActionMenu(QAction* action)
menu->addAction(mainWindow->actionQuit);
tb->setMenu(menu);
+
+ // add menu actions to main window to make them accessible in all situations
+ mainWindow->addActions(menu->actions());
}
}
} |
This will be solved in 1.7.2 as #1070 was merged. |
In 1024x768 resolution (this acceptable by my laptop, and Promethean board too), the CTRL-V and some other hotkey is not working. Whe I set the resolution to 1366x768, the CTRL-V worked, and when I set again to 1024x768, it don't do anything. I tried this behavior and same in 1.5.3, 1.5.4, and 1.6.1.
The text was updated successfully, but these errors were encountered: