Bugreport: Iconify then restore multiple window at the same time

Using GLFW
2013-11-28
2013-11-28
  • Darth Vader
    Darth Vader
    2013-11-28

    Hi, Iconify then restore multiple window at the same time like below will result only one window to be restored.

    {code}
    GLFWwindow window;
    GLFWwindow
    window2;
    window = glfwCreateWindow(640, 480, "I wont come back", NULL, NULL);
    window2 = glfwCreateWindow(640, 480, "I will come back", NULL, NULL);
    //Some code here...
    glfwIconifyWindow(window);
    glfwIconifyWindow(window2);
    //Some code here...
    glfwRestoreWindow(window);
    glfwRestoreWindow(window2);
    {/code}

    But Twisting the Iconify order will result both window to be restored just fine.

    {code}
    GLFWwindow window;
    GLFWwindow
    window2;
    window = glfwCreateWindow(640, 480, "I will come back", NULL, NULL);
    window2 = glfwCreateWindow(640, 480, "I will come back too", NULL, NULL);
    //Some code here...
    glfwIconifyWindow(window2);
    glfwIconifyWindow(window);
    //Some code here...
    glfwRestoreWindow(window);
    glfwRestoreWindow(window2);
    {/code}

    If i am wrong and this is not a bug, or i f**d up something let me know.

    Update: Win 7 x64, glfw 3.0.3, mingw4.8.1

     
    Last edit: Darth Vader 2013-11-28
  • Which OS?

     
  • Darth Vader
    Darth Vader
    2013-11-28

    Win 7 x64, glfw 3.0.3, mingw4.8.1

     
  • That certainly sounds like a bug. Please report it if possible, so it doesn't get lost. I can copy it there, but if you report it you get notifications and some control.