Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Move QT5 application to left or right on GNOME desktop



  • Most of the applications I use in Ubuntu 18.04 (GNOME desktop) respond to super+Left Arrow or super+Right Arrow to place the window on the left or right side. QT Creator, for example, works well with super+Up Arrow and super+Down Arrow.

    QGIS, made with QT5 does not respond to these events.

    I'm able to maximize or restore the size of QGIS with super+Up Arrow and super+Down Arrow, but not place it on the left or right.

    Since it is a QT5 open source application, what can I do to make it able to move to the left or right with those standard keybindings?

    I've already checked the *.desktop file, but there is nothing different from other applications, like QT Creator.

    Thank you!


  • Lifetime Qt Champion

    Hi,

    Do you get the same behaviour if you use an application built from the default template coming from Qt Creator ?

    If so, there's likely something done by qgis that is responsible here.

    Also, what version of qgis are you using ? How did you install it ?



  • Thank you for the feedback @SGaist

    If I make an application with QT Creator, it behaves well. The problem is QGIS. I'm using QGIS compiled from master. Previous versions had the same problem.

    I know that the problem is in QGIS, but I can't identify any kind of bindings/settings that prevents super+Left Arrow or super+Right Arrow to place the window on the left or right side.


  • Lifetime Qt Champion

    Then you should contact the QGis folk directly, they will have a good understanding of what is going on internally in their library.


Log in to reply