godot icon indicating copy to clipboard operation
godot copied to clipboard

List of obsolete methods to deprecate

Open akien-mga opened this issue 10 years ago • 4 comments

We have quite a few obsolete and/or empty methods that should be deprecated, as they can be quite misleading for the users (see e.g. this question about OS.get_fullscreen_mode_list()). Especially OS seems to have a good share of obsolete methods, that when asked about @reduz says "Don't use it, it's obsolete, use instead".

So this issue is meant to list and discuss such methods, to see which ones we should deprecate (and which ones should not be deprecated but maybe improved/fixed). Once #4397 is solved, we should have a simple way to efficiently deprecate methods.

akien-mga avatar Apr 22 '16 08:04 akien-mga

To deprecate for 2.1

  • [ ] OS.get_fullscreen_mode_list
  • [ ] OS.set_video_mode

Already deprecated for 2.1

akien-mga avatar May 11 '16 16:05 akien-mga

Just stumbled over it.

  • OS.get_borderless_window()
  • OS.set_borderless_window()

Looks like it is only implementated in OS.initialize() for windows. Is it also deprecated?

hurikhan avatar Jul 22 '16 11:07 hurikhan

OS.get_borderless_window() OS.set_borderless_window()

Nope, those were added recently, but indeed only for Windows. If those would be relevant for other platforms, we should probably open an issue about it to keep track of their implementation.

akien-mga avatar Jul 22 '16 11:07 akien-mga

Superseded by #5696.

akien-mga avatar Jul 27 '16 12:07 akien-mga