#564 Wrong coordination used for dragging-to-move

stable
closed-wont-fix
nobody
general (155)
5
2016-01-15
2013-03-21
DarkRaven
No

SMPlayer uses pos() + diff to set the new window position, which is wrong because pos() returns the position of the frame window. And the ICCCM says:
"The coordinate system in which the location is expressed is that of the root (*irrespective* of any reparenting that may have occurred)."

Discussion

  • Ricardo Villalba

    I think using pos() is correct. Otherwise send a patch.

    pos :
    QPoint

    This property holds the position of the widget within its parent widget

    If the widget is a window, the position is that of the widget on the desktop, including its frame.

     
  • Ricardo Villalba

    • status: open --> closed-wont-fix
     

Log in to post a comment.