Warrior layout: floating toolbars lose their original positions

From SuperMemopedia

Jump to: navigation, search

Problem statement

Floating toolbars (i.e. Format, Compose, and Read) keep loosing their original positions by moving upwards inch by inch

Solution

Use File » Level » Warrior or Window » Layout » Warrior layout every once in a while to restore their original positions

See also: Warrior layout toolbar button and keyboard shortcut

Suggestion

This is rather a mouse handling bug in floating toobars as implemented in Delphi (not an actual problem with SuperMemo). In all likelihood, Delphi inherited the bug from a bug in mouse handling in Windows where toolbar coordinates are wrongly added up with the height of the title bar (a few pixel difference that shifts the toolbar upwards on each drag). As SuperMemo does not handle the dragging process (its all behind the hood in Windows), it may be difficult to find a countermeasure that would work around the bug

Personal tools