Recent upgrade to Ubuntu 23.04 breaks QT Designer
-
12 years later .. I am experiencing the exact same issue documented here:
https://www.qtcentre.org/threads/4544-Can-t-drop-a-widget-in-designer-solution
I can start both Designer or QTCreator - start a project, oipen a ui file .. but when attempt to drag a widget into the UI window, I get the mouse pointer showing a circled-bar and unable to drag the deired widget into the UI.
Do you have any clue on how to debug the issue?
I was using QT Designer from the Ubuntu packages - I am now tring to install and test the one shipped with qt-everywhere-srcThank you for any advice on how to debug this issue!
-
12 years later .. I am experiencing the exact same issue documented here:
https://www.qtcentre.org/threads/4544-Can-t-drop-a-widget-in-designer-solution
I can start both Designer or QTCreator - start a project, oipen a ui file .. but when attempt to drag a widget into the UI window, I get the mouse pointer showing a circled-bar and unable to drag the deired widget into the UI.
Do you have any clue on how to debug the issue?
I was using QT Designer from the Ubuntu packages - I am now tring to install and test the one shipped with qt-everywhere-srcThank you for any advice on how to debug this issue!
@epinux said in Recent upgrade to Ubuntu 23.04 breaks QT Designer:
https://www.qtcentre.org/threads/4544-Can-t-drop-a-widget-in-designer-solution
Do you have the "Xlib: extension "SHAPE" missing on display" per that thread, or not? If not it's not the same issue....
Are you on Wayland/GNOME using Wayland?? There have been recent problems like this with Fedora at least. Best I can see might be https://www.reddit.com/r/QtFramework/comments/12t5rr6/cant_drag_and_drop_widgets_in_qt_designer_im_on/
路
9 days ago
It's a mutter bug -- see https://gitlab.gnome.org/GNOME/mutter/-/issues/2715
No fix yet... 馃槺
6 days ago
Had the same issue after updating Ubuntu to 23.04.
Adding "export QT_QPA_PLATFORM=wayland" to my .profile fixed the problem and everything is fine now.
-
@epinux said in Recent upgrade to Ubuntu 23.04 breaks QT Designer:
https://www.qtcentre.org/threads/4544-Can-t-drop-a-widget-in-designer-solution
Do you have the "Xlib: extension "SHAPE" missing on display" per that thread, or not? If not it's not the same issue....
Are you on Wayland/GNOME using Wayland?? There have been recent problems like this with Fedora at least. Best I can see might be https://www.reddit.com/r/QtFramework/comments/12t5rr6/cant_drag_and_drop_widgets_in_qt_designer_im_on/
路
9 days ago
It's a mutter bug -- see https://gitlab.gnome.org/GNOME/mutter/-/issues/2715
No fix yet... 馃槺
6 days ago
Had the same issue after updating Ubuntu to 23.04.
Adding "export QT_QPA_PLATFORM=wayland" to my .profile fixed the problem and everything is fine now.
@JonB i added the following in my
/etc/X11/xorg.conf
:Section "Module" Load "extmod" EndSection
and this is the output of
xdpyinfo -queryExtensions
https://gist.github.com/epifanio/735ebcaf71c6079d643ac3394095aec4
which shows:
SHAPE (opcode: 129, base event: 64)
This is with a standard installation of Ubuntu 23.04 - which I assume, is running under gnome 44 - I tried a gnome classic session but the issue persists.
-
@epinux said in Recent upgrade to Ubuntu 23.04 breaks QT Designer:
https://www.qtcentre.org/threads/4544-Can-t-drop-a-widget-in-designer-solution
Do you have the "Xlib: extension "SHAPE" missing on display" per that thread, or not? If not it's not the same issue....
Are you on Wayland/GNOME using Wayland?? There have been recent problems like this with Fedora at least. Best I can see might be https://www.reddit.com/r/QtFramework/comments/12t5rr6/cant_drag_and_drop_widgets_in_qt_designer_im_on/
路
9 days ago
It's a mutter bug -- see https://gitlab.gnome.org/GNOME/mutter/-/issues/2715
No fix yet... 馃槺
6 days ago
Had the same issue after updating Ubuntu to 23.04.
Adding "export QT_QPA_PLATFORM=wayland" to my .profile fixed the problem and everything is fine now.
-
@JonB Thank you so much for the link to the gnome issue - I just installed a basic xfce as a temporary fix .. and everything is back normal and I can continue to work on my Qt app :)
@JonB - I see from https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2984 that this was suposed to fix the issue .. and indeed it does :)
I went the hard way and build matter from source
I first installed the dependencies withapt build-dep matter
and then installed the latest git version as described here https://www.linuxfromscratch.org/blfs/view/svn/gnome/mutter.html
Designer is working dine now under gnome 44
-
@epinux said in Recent upgrade to Ubuntu 23.04 breaks QT Designer:
https://www.qtcentre.org/threads/4544-Can-t-drop-a-widget-in-designer-solution
Do you have the "Xlib: extension "SHAPE" missing on display" per that thread, or not? If not it's not the same issue....
Are you on Wayland/GNOME using Wayland?? There have been recent problems like this with Fedora at least. Best I can see might be https://www.reddit.com/r/QtFramework/comments/12t5rr6/cant_drag_and_drop_widgets_in_qt_designer_im_on/
路
9 days ago
It's a mutter bug -- see https://gitlab.gnome.org/GNOME/mutter/-/issues/2715
No fix yet... 馃槺
6 days ago
Had the same issue after updating Ubuntu to 23.04.
Adding "export QT_QPA_PLATFORM=wayland" to my .profile fixed the problem and everything is fine now.