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. Floating child window automatically moves with parent
QtWS25 Last Chance

Floating child window automatically moves with parent

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.5k Views
  • 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.
  • R Offline
    R Offline
    rushmore
    wrote on last edited by
    #1

    I've been using Qt4.7.3 for my Mac desktop application. Today I upgraded to 4.8.0 and noticed one thing that has changed. with Qt4.7.3 when my main window moves, its child window (such as a floating tool window or About window) moves with it automatically. However, it is not the case with Qt4.8.0, which is bad for me because I need that for one important occasion.

    The best way to test this is try the windowflags example, with Qt4.7.3 the pop up child window moves with parent, with Qt4.8.0, it doesn't.

    Now my question is how do I get back the old behavior in Qt4.7.3? I tried a few hacks in moveEvent. I can sort of make it work, but there is always lagging in the movement. Nothing came close to the smoothness like before. Does any one have any suggestions?

    Thank you.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      That's really strange. In my real world applications I never had this behavior with 4.7.3 (using a manual build against Carbon, maybe it is a Cocoa only problem). I would regard the 4.7.3 behavior a bug and 4.8.0 the correct version.

      http://www.catb.org/~esr/faqs/smart-questions.html

      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