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. QT5 app menu behaving odd on Tiny Core Linux

QT5 app menu behaving odd on Tiny Core Linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 1.8k 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
    MBertrand
    wrote on last edited by
    #1

    I'm running a QT5 application on Tiny Core Linux with XVesa as xserver and Fluxbox as window manager.
    My app is just a simple QMainWindow with menu items and all was generated with QDesinger. When the application is automatically invoked when x starts the menu items behave weird. When I click on a menu that has sub menu items the sub menu items appear but right away disappear. This all happens while mouse is still pressed. BUT if I run my application from a terminal then all works well. I no that when xserver starts it will launch a script via exec() and it is from this script that my app is loaded.

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

      Hi and welcome to devnet,

      Just a wild idea, are you sure that you don't start your application too early maybe before Fluxbox is fully started ?

      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
        MBertrand
        wrote on last edited by
        #3

        Yes I'm sure and I can recreate the problem later.

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

          What do you mean by later ?

          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
            MBertrand
            wrote on last edited by
            #5

            Well the TinyCore desktop has a toolbar called wbar that has icons to lunch certain applications.
            You can add your own app to it. I added my test app to it and when I lunch it I get the same problem.
            I found the script that runs these application and it is simply calling exec() BUT if I open a terminal and run my app from there then all is good.

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

              Then I'd bring that to the folks handling the Desktop Environment, they will likely be more knowledgeable about that matter.

              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