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. The titlebar is not displayed
Forum Updated to NodeBB v4.3 + New Features

The titlebar is not displayed

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 1.1k 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.
  • RenioR Offline
    RenioR Offline
    Renio
    wrote on last edited by
    #1

    Good morning everyone!
    I'm developing a desktop application with Qt 6.5 on Ubuntu 22.04.2 LTS.
    I need to generate a distribution package, and have performed the steps suggested here

    https://wiki.qt.io/CQtDeployer

    My problem now is:
    When I launch my application, from the command line, in the build directory it works fine.

    f17d44f9-d9a1-459e-825b-5998301fbfec-immagine.png
    But if I generate the distributionkit with:

    https://wiki.qt.io/CQtDeployer

    and then I launch it on the same machine, I get this:
    The title bar is no longer visible.

    7e8c2025-ae70-4b58-a8dd-9014e7a47b11-immagine.png

    If then, I launch the distributionkit on another linux machine with the same os, I get the same result: the title bar is not displayed.
    Then I installed the qt libraries, present in the Distribution kit as indicated by user1824407 in this post:

    https://stackoverflow.com/questions/13428910/how-to-set-the-environmental-variable-ld-library-path-in-linux

    and run the executable from the command line, I always get the title bar not displayed.
    Can anyone give me a suggestion on how to work around this problem?

    1 Reply Last reply
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      IIRC, the very special people at gnome have decreed that the window manager shall not be responsible for window prettifying, and there are intermediate components that must mesh for them to display with title bar. Am curious whether your app behaves correctly under a "better" windows manager like kde or one of the liteweight ones. There is a whole other world (a better world) outside of the gnome fiasco.

      I light my way forward with the fires of all the bridges I've burned behind me.

      RenioR 1 Reply Last reply
      0
      • Kent-DorfmanK Kent-Dorfman

        IIRC, the very special people at gnome have decreed that the window manager shall not be responsible for window prettifying, and there are intermediate components that must mesh for them to display with title bar. Am curious whether your app behaves correctly under a "better" windows manager like kde or one of the liteweight ones. There is a whole other world (a better world) outside of the gnome fiasco.

        RenioR Offline
        RenioR Offline
        Renio
        wrote on last edited by
        #3

        @Kent-Dorfman I tryed to switch from GNOME to KDE but this solution don't resolve my problem.

        JoeCFDJ 1 Reply Last reply
        0
        • RenioR Renio

          @Kent-Dorfman I tryed to switch from GNOME to KDE but this solution don't resolve my problem.

          JoeCFDJ Offline
          JoeCFDJ Offline
          JoeCFD
          wrote on last edited by
          #4

          @Renio Maybe some plugins are missing. do
          strace your app
          from command line and in your deployed machines. Save the output into two files and meld them to see what is missing.

          RenioR 1 Reply Last reply
          1
          • JoeCFDJ JoeCFD

            @Renio Maybe some plugins are missing. do
            strace your app
            from command line and in your deployed machines. Save the output into two files and meld them to see what is missing.

            RenioR Offline
            RenioR Offline
            Renio
            wrote on last edited by
            #5

            Thank you @JoeCFD for your replay!
            I solved my problem changing library version: form 6.5 to 6.4
            It's a bug of last verison.

            JoeCFDJ 1 Reply Last reply
            0
            • RenioR Renio has marked this topic as solved on
            • RenioR Renio

              Thank you @JoeCFD for your replay!
              I solved my problem changing library version: form 6.5 to 6.4
              It's a bug of last verison.

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by
              #6

              @Renio You may try 6.5.1 which just came out 5 days ago. The issue might be fixed in this release.

              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