Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Disabled menu item not greyed out
Forum Updated to NodeBB v4.3 + New Features

Disabled menu item not greyed out

Scheduled Pinned Locked Moved Unsolved General and Desktop
qmenu
9 Posts 6 Posters 892 Views 4 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.
  • ghborrmannG Offline
    ghborrmannG Offline
    ghborrmann
    wrote on last edited by
    #1

    I have recently noticed that all of my QT apps are not greying out any disabled menu items. I am currently using C++ under Fedora 40, so I went back to Fedora 38 to verify that these items were greyed out appropriately. Going back to Fedora 40, I executed the same executable: the items were not greyed out. The only differences between the two executions were the QT libraries (5.15.12 versus 5.15.14) and, of course, the environment (XFCE desktop and F38 vs F40). The F40 system also has QT6 installed, but I don't think this should affect QT5 apps. (My apps converted to use QT6 also do not grey out disabled items.) How do I go about fixing this?

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

      Hi,

      Please provide a minimal compilable example that shows this behavior.

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

      ghborrmannG 2 Replies Last reply
      0
      • SGaistS SGaist

        Hi,

        Please provide a minimal compilable example that shows this behavior.

        ghborrmannG Offline
        ghborrmannG Offline
        ghborrmann
        wrote on last edited by
        #3

        @SGaist
        I've tried replying by adding my minimal example as code,, but it gets rejected as spam. Any suggestions?

        JonBJ Pl45m4P 2 Replies Last reply
        2
        • artwawA Offline
          artwawA Offline
          artwaw
          wrote on last edited by
          #4

          pastebin dot com or similar?
          Anti-spam features of this forum can be a bit annoying but trust me, they are needed.

          For more information please re-read.

          Kind Regards,
          Artur

          1 Reply Last reply
          0
          • ghborrmannG ghborrmann

            @SGaist
            I've tried replying by adding my minimal example as code,, but it gets rejected as spam. Any suggestions?

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @ghborrmann You are pasting as text not a picture, aren't you?

            1 Reply Last reply
            0
            • ghborrmannG ghborrmann

              @SGaist
              I've tried replying by adding my minimal example as code,, but it gets rejected as spam. Any suggestions?

              Pl45m4P Offline
              Pl45m4P Offline
              Pl45m4
              wrote on last edited by
              #6

              @ghborrmann

              I upvoted your comment. With some upvotes you should be able to post more frequently.
              It's just the spam/bot protection.


              If debugging is the process of removing software bugs, then programming must be the process of putting them in.

              ~E. W. Dijkstra

              1 Reply Last reply
              0
              • SGaistS SGaist

                Hi,

                Please provide a minimal compilable example that shows this behavior.

                ghborrmannG Offline
                ghborrmannG Offline
                ghborrmann
                wrote on last edited by
                #7

                @SGaist
                Thanks to @artwaw , I have successfully posted the minimal example on pastebin.com/u/ghborrmann. This sample has a Load menu item which is enabled, and a Save item which is disabled. Both items appear identical.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mleivo
                  wrote on last edited by
                  #8

                  I filed a bug report on this. See https://bugreports.qt.io/browse/QTBUG-127575

                  Hopefully this gets fixed soon. Showing disabled widgets as grey is a fundamental indicator for the user.

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

                    Thanks for the report. You should add which distribution you are using as well as desktop environment (KDE, Gnome, etc.) and window manager (Xorg, Wayland, etc) and their respective versions.

                    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

                    • Login

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