mojira.dev
MC-715

V-Sync in Window mode, settings not activated between sessions.

V-Sync does not retain settings between sessions in window mode.

Once V-Sync = TRUE in client is set, Minecraft will automatically apply. When the game is closed, and later re-opened, Minecraft will start without applying V-Sync. However, V-Sync will still show as 'true' on the video settings screen.

If the user toggles the setting, or switches to Full Screen and back. V-Sync will apply again, until the game is later closed and reopened.

Confirmed user has proper permissions to write to options.txt, Value of true is also being saved.

Setting Vsync as True in options.txt and opening Minecraft for Window mode has the same effect.

This affects existing worlds, and newly created 1.4 worlds.

Tried on a second Vista64 PC. Problem persists.

If Minecraft is set to use Full Screen, then V-Sync will automatic apply once started, if the value is set to true. This only appears to affect the default window mode option.

Linked issues

Comments 16

Same problem on Mac OS X 10.8.

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Yep, still present in 1.4.4 and 1.4.5.

I've updated the ticket.

Affects full-screen mode, too. Toggling the option to “On” and “Off” again fixes this behavior. Never noticed that before version 1.4.6

See MC-5243

Fixed in 13w01a, although now I can't seem to turn it off.

EDIT: Actually, scratch that: Bug still persists in 13w01a.

6 more comments

Confirmed with 13w11a in Linux.

Confirmed with 1.4.7, 1.5 and 1.5.1.

After looking at the code (Minecraft.java) and testing it out I have found that the VSync setting only gets applied at start-up if Fullscreen mode is enabled. The code to enable VSync at start-up is only in the toggleFullscreen() method.

It would be great if VSync could also get applied when not in Fullscreen mode at start-up.

Please update affected versions. Thank you.

Confirmed with all versions from 1.5.2 to 13w18c

Confirmed in 1.6.2

Ois

migrated

Community Consensus

Minecraft 1.4.2, Minecraft 1.4.4, Minecraft 1.4.5, Minecraft 1.4.6, Snapshot 13w02a, ..., Minecraft 1.5.2, Snapshot 13w18b, Snapshot 13w18c, Minecraft 1.6.1, Minecraft 1.6.2

Minecraft 13w36a

Retrieved