wpilibsuite / SmartDashboard

Other
23 stars 27 forks source link

Window on nonexistent monitor #104

Open AustinShalit opened 6 years ago

AustinShalit commented 6 years ago

If SmartDashboard is put on an external monitor and then the external monitor is unplugged, smartDashboard stays on the external monitor.

AustinShalit commented 6 years ago

Is this a bug? Maybe this is a feature for teams that want SmartDashboard to stay on an external monitor between matches? Let's make this a preference so users can go back to the old way.

JLLeitschuh commented 6 years ago

Sounds like a bug in the OS's window management software.

SamCarlberg commented 6 years ago

Maybe in the sense that Windows allows application windows to be offscreen. I think it makes sense to check if the window placement is offscreen when opening a save file, then placing it in the default location and size if it would be entirely offscreen. This should not be saved, so when a secondary screen is present the dashboard will still load in the same position it was saved in