Source editor window jumps to top of screen when any tab clicked
Original Reporter info from Mantis: netdxr
-
Reporter name:
Original Reporter info from Mantis: netdxr
- Reporter name:
Description:
When using Xinerama with two different size displays, the source editor window will reposition to the top of the larger display when any source tab is clicked. This covers the normal position of the menu/toolbar and happens with both 1.2.0 and 1.2.2.
Steps to reproduce:
- Start Lazarus and allow it to create a new, default ~/.lazarus directory
- Move the IDE menu/toolbar to the top of the larger screen and the source editor underneath
- Add a new unit to the empty project
- Click on either open tab in the editor
- The editor window will jump to the top of the screen and cover the menu/toolbar
A workaround is to place the menu/toolbar at the bottom of the larger screen. Moving the toolbar and source editor to the smaller screen works correctly.
Additional information:
This issue happens on the larger screen in xinerama mode when two different size displays are used. In this case, one screen is a laptop at 1600x900 and the other is a 24 inch monitor at 1680x1050. The problem happens on the larger monitor but not the smaller laptop screen. Xdpyinfo shows a cumulative screen0 size of 3280x1050 pixels.
Manually positioning the edit windows on the larger screen, shutting down and restarting Lazarus doesn't restore the window positions also places the editor window at the top of the screen. A screenshot is attached showing a manually positioned edit window and the change after clicking the unit2 tab.
Mantis conversion info:
- Mantis ID: 26140
- OS: Fedora
- OS Build: 19
- Build: 44768
- Platform: Linux
- Version: 1.2.2
- Fixed in version: 1.5 (SVN)
- Fixed in revision: 50506 (#0a9bed66)