Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Subwindows and menus broken on Ubuntu 22.04?
Forum Updated to NodeBB v4.3 + New Features

Subwindows and menus broken on Ubuntu 22.04?

Scheduled Pinned Locked Moved Solved Qt for Python
4 Posts 2 Posters 624 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    makishi
    wrote on last edited by
    #1

    I had a simple application with a QMainWindow that had a QAction and a menuBar. This worked great on Ubuntu 20.04 (Focal Fossa). I could press the "Menu" label and see the QActions I had added.

    After installing Ubuntu 22.04 (Jammy Jellyfish) I can still see the "Manu" label, but nothing happens when I press it. The QAction does still work though! (Ctrl+Q). I also don't seem to be able to show sub-windows, calling a new QMainWindow with a button, for example.

    Does anyone know why or has anyone also experienced this? Maybe Qt is fine but there's something with window popups, idk.
    Thanks in advance.

    M 1 Reply Last reply
    1
    • M makishi

      I had a simple application with a QMainWindow that had a QAction and a menuBar. This worked great on Ubuntu 20.04 (Focal Fossa). I could press the "Menu" label and see the QActions I had added.

      After installing Ubuntu 22.04 (Jammy Jellyfish) I can still see the "Manu" label, but nothing happens when I press it. The QAction does still work though! (Ctrl+Q). I also don't seem to be able to show sub-windows, calling a new QMainWindow with a button, for example.

      Does anyone know why or has anyone also experienced this? Maybe Qt is fine but there's something with window popups, idk.
      Thanks in advance.

      M Offline
      M Offline
      makishi
      wrote on last edited by
      #2

      Solved the window problem!
      I was just missing a self when declaring it. Now it does show. Still nothing on the menu though.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        It would help if you can provide a minimal runable script that shows that behaviour.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • M Offline
          M Offline
          makishi
          wrote on last edited by
          #4

          I've found out it's just a problem with the second monitor. It works fine on my laptop, but the position of the menu popups is off on the bigger monitor.

          This is enough of a solution for me, so I'm marking as solved :)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved