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. QDrag pixmap changes between Qt 6.4 and 6.10?
Qt 6.11 is out! See what's new in the release blog

QDrag pixmap changes between Qt 6.4 and 6.10?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 128 Views 2 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.
  • SqueeqtS Offline
    SqueeqtS Offline
    Squeeqt
    wrote last edited by
    #1

    Recently recompiled a Qt6 C++ application that had been running in Ubuntu 24.04 Qt 6.4.2, to Ubuntu 26.04, Qt 6.10.2. (x86_64,GNOME Wayland) Everything worked, except the visual feedback during a drag operation using QDrag (structured like the example code, and confined to a QFrame within the application main window).

    With the older binary, the drag pixmap,which is set to an image of a small QLabel, being dragged, was clearly visible during the drag operation. In the new binary, the apparent object being dragged appears as just a cursor (a '+' with arrows on all ends) and the pixmap is never visible. The drag and drop action still works in the new environment, but the lack of the pixmap as feedback during the drag is a problem for users.

    My quick scan of the release notes between versions did not reveal whatever change might explain this. I can run the old application in the newer Ubuntu 26.04 (by importing libraries) and the desired pixmap appears during drag operations. Any suggestions?

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

      Hi and welcome to devnet,

      Are you in both cases using the distribution provided Qt ?
      Can you check with a more recent version to see if it's still acting up ?
      Did you check, when launching from the terminal, if there's any system generated message about the pixmap ?

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

      SqueeqtS 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Are you in both cases using the distribution provided Qt ?
        Can you check with a more recent version to see if it's still acting up ?
        Did you check, when launching from the terminal, if there's any system generated message about the pixmap ?

        SqueeqtS Offline
        SqueeqtS Offline
        Squeeqt
        wrote last edited by
        #3

        @SGaist said in QDrag pixmap changes between Qt 6.4 and 6.10?:

        Are you in both cases using the distribution provided Qt ?

        Yes, these are the last two LTS releases of Ubuntu btw.

        Did you check, when launching from the terminal, if there's any system generated message about the pixmap ?

        No messages observed.

        Can you check with a more recent version to see if it's still acting up ?

        This was a shrewd suggestion, if a bit tedious to test: The expected drag behavior was restored in version 6.11.1 !

        I know this is not the Qt package management forum, but am I correct in guessing that patches are unlikely to get backported to a 6.10 branch? Unless there is some application code workaround, likely I will need to look into snaps, flatpaks, and appimages etc to cover the expected runtime environments...

        JKSHJ 1 Reply Last reply
        0
        • SqueeqtS Squeeqt

          @SGaist said in QDrag pixmap changes between Qt 6.4 and 6.10?:

          Are you in both cases using the distribution provided Qt ?

          Yes, these are the last two LTS releases of Ubuntu btw.

          Did you check, when launching from the terminal, if there's any system generated message about the pixmap ?

          No messages observed.

          Can you check with a more recent version to see if it's still acting up ?

          This was a shrewd suggestion, if a bit tedious to test: The expected drag behavior was restored in version 6.11.1 !

          I know this is not the Qt package management forum, but am I correct in guessing that patches are unlikely to get backported to a 6.10 branch? Unless there is some application code workaround, likely I will need to look into snaps, flatpaks, and appimages etc to cover the expected runtime environments...

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote last edited by
          #4

          @Squeeqt said in QDrag pixmap changes between Qt 6.4 and 6.10?:

          am I correct in guessing that patches are unlikely to get backported to a 6.10 branch?

          Yes, Qt 6.10 will not receive any further releases.

          likely I will need to look into snaps, flatpaks, and appimages etc to cover the expected runtime environments...

          This might help: https://github.com/probonopd/linuxdeployqt

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          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