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. Qt 5.12 to 5.15 => Drag&Drop problems

Qt 5.12 to 5.15 => Drag&Drop problems

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 660 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.
  • P Offline
    P Offline
    Poupzo
    wrote on last edited by
    #1

    Hey,
    I have a working project in version 5.12 that I'm trying to upgrade to 5.15.

    The problems are that drag and drop doesn't work the way it used to and I can't find any info in the patch notes I have access to.

    I've got too many problems so I can't explain all of them, so if you just have some information on whether anything has changed between these versions here I'll thank you for it.

    Have a good day!

    1 Reply Last reply
    0
    • Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Poupzo

      If you don't say what is not working and what "many problems" are, nobody can help you.


      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
      1
      • P Offline
        P Offline
        Poupzo
        wrote on last edited by
        #3

        What I was basically asking was whether there had been any changes between the different versions because I have different behaviors between them.

        But for example, the kind of problem I'm having is that there are different QListWidgetItems and some of them don't drop into the zone they should, while others still do.
        Still for drag and drop with lists, when I drag an item to reorder it and drop it on itself, it throws the "RowsRemoved" event, which deletes my item and throws my empty but existing row.

        SGaistS 1 Reply Last reply
        0
        • P Poupzo

          What I was basically asking was whether there had been any changes between the different versions because I have different behaviors between them.

          But for example, the kind of problem I'm having is that there are different QListWidgetItems and some of them don't drop into the zone they should, while others still do.
          Still for drag and drop with lists, when I drag an item to reorder it and drop it on itself, it throws the "RowsRemoved" event, which deletes my item and throws my empty but existing row.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Poupzo Hi,

          If you haven't found anything in the release notes, then I would check the git history of the files concerning the class you are using both the views and the models.

          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
          • P Offline
            P Offline
            Poupzo
            wrote on last edited by
            #5

            Several bugs are solved in 5.15.14 like that : https://bugreports.qt.io/browse/QTBUG-100128

            For the moment I cannot have this version so to others like me you can find a workaround here : https://stackoverflow.com/questions/74263946/widget-inside-qlistwidgetitem-disappears-after-internal-move

            SGaistS 1 Reply Last reply
            0
            • P Poupzo

              Several bugs are solved in 5.15.14 like that : https://bugreports.qt.io/browse/QTBUG-100128

              For the moment I cannot have this version so to others like me you can find a workaround here : https://stackoverflow.com/questions/74263946/widget-inside-qlistwidgetitem-disappears-after-internal-move

              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Poupzo Since you would need to build Qt anyway to use that version, you can take the current latest and apply the patch linked to the bug report.

              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