Forms & IDE Windows Getting Lost Off-Screen
Original Reporter info from Mantis: jwhitten
-
Reporter name: John Whitten
Original Reporter info from Mantis: jwhitten
- Reporter name: John Whitten
Description:
In a Multi-Monitor / Multi-Res environment, Forms, Frames and IDE Windows can get lost off-screen and be darned-near impossible to retrieve. I have searched the bug reports and this issue is similar to these: [0019082, 0015976, 0019205], all of which are marked as closed/resolved. However, I can very emphatically indicate that they are not! Or else, this is a new instance of something similar :-)
A SUGGESTION FOR FIXING / SOLUTION:
In addition to whatever measures might be undertaken to "fix" the issue-- it would be EXTREMELY HANDY to have a place in the IDE where you can go see the opened forms and windows and then press a button to "YANK" them to the current screen and within the boundaries of the Lazarus IDE window. Then they can be re-positioned as desired. This would at least permit a user to more easily regain control/access to their forms and frames.
It would also be nice if something similar could be implemented for the various IDE windows. I know there is supposedly a place like that for fixing the windows-- I know I've seen it before. But I think it gets gone when you install the IDE-Docking module. At least that's the last time I remember seeing it-- before I installed the Docking module. Now I'm stuck, it's almost impossible to regain control of IDE windows if they're off-screen.
PLEASE HELP!!!
(BTW-- if someone could point me in the right direction regarding appropriate units, methods, etc., I'd be happy to take a stab at making a "Window Yanker")
Steps to reproduce:
In my situation, I have multi-monitors at work which are mapped in one manner, and then when I log in remotely from home, it maps my displays differently. I don't have the ability to change this situation. When I get to the other location to resume editing, I often have the problem of having to hunt down the IDE Windows, Forms and Frames. I started using Docking on the IDE, and that helps that aspect considerably, but un-docked / undockable windows can still get lost.
Additional information:
For the sake of anybody else that might be reading along, here is a (clumsy) workaround to at least get your forms / frames back. You can open the form's .lfm file (the same name as your unit but with .lfm extension) and look down to see the "DesignLeft" (or "DesignTop") parameters which store the position of the windows at design-time. Change those to something reasonable for your current screen and save/close the file. Do it for all the forms/frames you had open and then CLOSE your project. When you re-open it, you should be able to use the "Unit/Form" button to view your Form/Frame again.
Note: Sometimes I have to do this two or three times to get all of them back in-view. I don't know why, perhaps the IDE stores/updates information as its exiting?? I don't know. But I have been able to recover my forms/frames this way. It's a pain in the butt, but it works.
Mantis conversion info:
- Mantis ID: 24699
- OS: Windows 7
- OS Build: 7
- Build: 41613
- Platform: PC
- Version: 1.0.10