Bug 76023 - Window moves when changing orientation
Summary: Window moves when changing orientation
Status: RESOLVED FIXED
Alias: None
Product: kruler
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Mathias Soeken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 15:28 UTC by Christian Ullrich
Modified: 2008-12-16 11:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ullrich 2004-02-24 15:28:26 UTC
Version:           unknown (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 2.95.4 20020320 [FreeBSD]
OS:          FreeBSD (i386) release 4.9-STABLE

Each time the orientation of the ruler is changed, the window moves one pixel down and to the right.
Comment 1 Nicolas L. 2005-08-25 18:02:23 UTC
is it still valid ?
Comment 2 Christian Ullrich 2005-08-25 20:02:49 UTC
With: 'KDE Screen Ruler 3.4.0 (Using KDE 3.4.0 Level "b" SUSE 9.3)', 
yes, it is. Only the direction of movement is now more complex (if it 
wasn't back then and I just didn't notice); it depends on the orientations
involved in the switch (movement is the same going from 1 to 2 and
vice versa[1]):

  1  |  2  |  Movement
-----+-----+-------------
  N  |  W  | Down
  N  |  S  | Down, Right
  N  |  E  | Right
  E  |  S  | Down
  E  |  W  | Down, Right
  W  |  S  | Down

Apparent movement is always one pixel per orientation change.

[1] I'm certain about that for the N/S and W/E pairs only, because the
position changes in the other cases and I can't be sure if it doesn't move
two pixels going one way and not at all going back.
Comment 3 Mathias Soeken 2008-12-12 09:09:51 UTC
Cannot close the bug. But it is fixed now: http://websvn.kde.org/?view=rev&revision=895676