Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33260

QWidget::move works differently before window is created than after.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.1.1
    • GUI: Window management
    • None
    • Oracle Linux Server release 6.4 KDE 4.3.4

    Description

      When I call QWidget::move before showing the window it seems to be placed where I expect it. After the window has been displayed, if you call move with the same coordinates, it shows up on a different place on the screen.

      When you run the example provided, the first time you hit a key, the window shows up at 21,21. The second time, it should show up at 22,22, but it shows up at 22,33. Each subsequent button press moves it down and over 1 as expected.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            curtisw@scm-lp.com Curtis Wren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes