Make records open in existing script window.
I was recently diving into scripts for some mods that do not function properly (most of them contain WTF bugs http://www.galactanet.com/comic/Strip289.gif) What really annoyed me was that if I run the verifier to get a quick list of borked scripts, and I double click one, it opens in a tiny sidebar that's completely impractical, instead of the already open script editor window that I've nicely fitted in a good place in the UI. My proposal is to make it possible for scripts to open in the existing script record window.
- Open in the first available open script record window on double-click ** This would necessarily discard unsaved edits to the script record that was opened. We may have to prompt for that.
- Open in a new tab in the first available open script record window on double-click
- Add a right-click option to open the record in a new window.
- Allow the user to discard the current window contents, and open the new record in that window by dragging the record into an open record window. ** In this case it would most likely be an intentional action and it's not that important to prompt for unsaved edits. ** It may be a good idea to prompt anyway if the record type does not match, e.g. a user drops a script record on a window that's used to edit an item record. This may indicate that the user accidentally dropped in the wrong window.
This idea could of course be expanded to other types of objects. Personally I think that it would be nice to make windows tabbed, as a user I expect the windows to be fairly fixed, and to re-use a single window to edit multiple records of the same type.
(RM-3429 from redmine: created on 2016-06-05 by Gijsbert ter Horst, )