-
Notifications
You must be signed in to change notification settings - Fork 171
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
Hide the drop indicators #334 #337 #346
Comments
The API is KDDockWidgets::Config::setDropIndicatorsInhibited(bool), that needs to be called whenever Ctrl is pressed/released. The event filter in MyMainWindow.cpp is not part of the API, it's for example purposes. As it will differ from application to application. Knowing your application I think you're using native titlebars, if Windows doesn't send the Ctrl event to Qt in that case you can use a timer and check if key is pressed (with win32 api if Qt one doesn't work) |
KDDockWidgets::DragController::isDraggingChanged() signal can be useful, to stop/start the timer. |
I found a good solution which works under Linux and Windows.
|
Hi,
Unfortunately the fix #337 is not working in every situation. If you move a floating window the event filter doesn't catch the ctrl key event.
If you don't move any window the key event is working.
But the most important use case is to move the floating window and pressing the ctrl key.
Regards,
Thomas
The text was updated successfully, but these errors were encountered: