Menu

#245 Win32: Fixed a bug regarding WM_SIZE processing.

None
closed-out-of-date
nobody
None
5
2018-06-09
2018-04-01
No

Hi all

I am using freeglut in my open source project and encountered
a problem related to maximizing a previously minimized opengl
window. In this case my reshape callback function handler
didn't get called leading to a non-refreshed opengl frame buffer.

In order to get around that, I changed the code responsible for
processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
is considered for visibility state changes. As a result my handler gets
called for the above mentioned scenario. Based on these changes
I built my own freeglut.dll for usage in my project.

My changes are highlighted in the attached screenshot taken from
winmerge.

I would be glad if my changes made it into your code repository
so that others can benefit from them.

They are based on the official freeglut library v3.0.

Best regards
Frank

1 Attachments

Related

Bugs: #245

Discussion

  • Diederick C. Niehorster

    • status: open --> closed-out-of-date
    • Group: -->
     
  • Diederick C. Niehorster

    Thanks for the report! This is already fixed, in the same way, in trunk :)

     
    • Marc Berger

      Marc Berger - 2018-06-09

      Seems that your changes aren't in the current 3.0.0 release

       
      • Diederick C. Niehorster

        Hi Marc,

        They aren't in the release indeed, they are in svn trunk.

        All the best,
        Dee

        On Sun, Jun 10, 2018, 03:14 Marc Berger zzador@users.sourceforge.net
        wrote:

        Seems that your changes aren't in the current 3.0.0 release


        [bugs:#245] Win32: Fixed a bug regarding WM_SIZE processing.

        Status: closed-out-of-date
        Group:
        Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
        Last Updated: Sat Jun 09, 2018 06:59 PM UTC
        Owner: nobody
        Attachments:

        Hi all

        I am using freeglut in my open source project and encountered
        a problem related to maximizing a previously minimized opengl
        window. In this case my reshape callback function handler
        didn't get called leading to a non-refreshed opengl frame buffer.

        In order to get around that, I changed the code responsible for
        processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
        is considered for visibility state changes. As a result my handler gets
        called for the above mentioned scenario. Based on these changes
        I built my own freeglut.dll for usage in my project.

        My changes are highlighted in the attached screenshot taken from
        winmerge.

        I would be glad if my changes made it into your code repository
        so that others can benefit from them.

        They are based on the official freeglut library v3.0.

        Best regards
        Frank


        Sent from sourceforge.net because you indicated interest in <
        https://sourceforge.net/p/freeglut/bugs/245/>

        To unsubscribe from further messages, please visit <
        https://sourceforge.net/auth/subscriptions/>

         

        Related

        Bugs: #245

        • John Fay

          John Fay - 2018-06-13

          Is it time for a new release?

          On 6/10/2018 4:29 AM, Diederick C. Niehorster wrote:

          Hi Marc,

          They aren't in the release indeed, they are in svn trunk.

          All the best,
          Dee

          On Sun, Jun 10, 2018, 03:14 Marc Berger zzador@users.sourceforge.net
          zzador@users.sourceforge.net
          wrote:

          Seems that your changes aren't in the current 3.0.0 release
          
          ------------------------------------------------------------------------
          
          *[bugs:#245] <https://sourceforge.net/p/freeglut/bugs/245/> Win32:
          Fixed a bug regarding WM_SIZE processing.*
          
          *Status:* closed-out-of-date
          *Group:*
          *Created:* Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
          *Last Updated:* Sat Jun 09, 2018 06:59 PM UTC
          *Owner:* nobody
          *Attachments:*
          
            * winmerge_differences.png
              <https://sourceforge.net/p/freeglut/bugs/245/attachment/winmerge_differences.png>
              (45.9 kB; image/png)
          
          Hi all
          
          I am using freeglut in my open source project and encountered
          a problem related to maximizing a previously minimized opengl
          window. In this case my reshape callback function handler
          didn't get called leading to a non-refreshed opengl frame buffer.
          
          In order to get around that, I changed the code responsible for
          processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
          is considered for visibility state changes. As a result my handler
          gets
          called for the above mentioned scenario. Based on these changes
          I built my own freeglut.dll for usage in my project.
          
          My changes are highlighted in the attached screenshot taken from
          winmerge.
          
          I would be glad if my changes made it into your code repository
          so that others can benefit from them.
          
          They are based on the official freeglut library v3.0.
          
          Best regards
          Frank
          
          ------------------------------------------------------------------------
          
          Sent from sourceforge.net because you indicated interest in <
          https://sourceforge.net/p/freeglut/bugs/245/>
          
          To unsubscribe from further messages, please visit <
          https://sourceforge.net/auth/subscriptions/>
          

          [bugs:#245] https://sourceforge.net/p/freeglut/bugs/245/ Win32:
          Fixed a bug regarding WM_SIZE processing.

          Status: closed-out-of-date
          Group:
          Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
          Last Updated: Sat Jun 09, 2018 06:59 PM UTC
          Owner: nobody
          Attachments:

          Hi all

          I am using freeglut in my open source project and encountered
          a problem related to maximizing a previously minimized opengl
          window. In this case my reshape callback function handler
          didn't get called leading to a non-refreshed opengl frame buffer.

          In order to get around that, I changed the code responsible for
          processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
          is considered for visibility state changes. As a result my handler gets
          called for the above mentioned scenario. Based on these changes
          I built my own freeglut.dll for usage in my project.

          My changes are highlighted in the attached screenshot taken from
          winmerge.

          I would be glad if my changes made it into your code repository
          so that others can benefit from them.

          They are based on the official freeglut library v3.0.

          Best regards
          Frank


          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/freeglut/bugs/245/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

          Related

          Bugs: #245

          • rcmaniac25

            rcmaniac25 - 2018-06-13

            I'm fine with this. I don't see any recent
            issues/PRs that I think "must" be done
            before release.

            Vinnie


            From: John Fay fayjf2@users.sourceforge.net
            Sent: Tuesday, June 12, 2018 9:43 PM
            To: [freeglut:bugs]
            Subject: [freeglut:bugs] Re: #245 Win32: Fixed a bug regarding WM_SIZE processing.

            Is it time for a new release?

            On 6/10/2018 4:29 AM, Diederick C. Niehorster wrote:

            Hi Marc,

            They aren't in the release indeed, they are in svn trunk.

            All the best,
            Dee

            On Sun, Jun 10, 2018, 03:14 Marc Berger zzador@users.sourceforge.net
            zzador@users.sourceforge.netzzador@users.sourceforge.net
            wrote:

            Seems that your changes aren't in the current 3.0.0 release


            [bugs:#245] https://sourceforge.net/p/freeglut/bugs/245/ Win32:
            Fixed a bug regarding WM_SIZE processing.

            Status: closed-out-of-date
            Group:
            Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
            Last Updated: Sat Jun 09, 2018 06:59 PM UTC
            Owner: nobody
            Attachments:

            Hi all

            I am using freeglut in my open source project and encountered
            a problem related to maximizing a previously minimized opengl
            window. In this case my reshape callback function handler
            didn't get called leading to a non-refreshed opengl frame buffer.

            In order to get around that, I changed the code responsible for
            processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
            is considered for visibility state changes. As a result my handler
            gets
            called for the above mentioned scenario. Based on these changes
            I built my own freeglut.dll for usage in my project.

            My changes are highlighted in the attached screenshot taken from
            winmerge.

            I would be glad if my changes made it into your code repository
            so that others can benefit from them.

            They are based on the official freeglut library v3.0.

            Best regards
            Frank


            Sent from sourceforge.net because you indicated interest in <
            https://sourceforge.net/p/freeglut/bugs/245/>

            To unsubscribe from further messages, please visit <
            https://sourceforge.net/auth/subscriptions/>


            [bugs:#245]https://sourceforge.net/p/freeglut/bugs/245/ https://sourceforge.net/p/freeglut/bugs/245/ Win32:
            Fixed a bug regarding WM_SIZE processing.

            Status: closed-out-of-date
            Group:
            Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
            Last Updated: Sat Jun 09, 2018 06:59 PM UTC
            Owner: nobody
            Attachments:

            Hi all

            I am using freeglut in my open source project and encountered
            a problem related to maximizing a previously minimized opengl
            window. In this case my reshape callback function handler
            didn't get called leading to a non-refreshed opengl frame buffer.

            In order to get around that, I changed the code responsible for
            processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
            is considered for visibility state changes. As a result my handler gets
            called for the above mentioned scenario. Based on these changes
            I built my own freeglut.dll for usage in my project.

            My changes are highlighted in the attached screenshot taken from
            winmerge.

            I would be glad if my changes made it into your code repository
            so that others can benefit from them.

            They are based on the official freeglut library v3.0.

            Best regards
            Frank


            Sent from sourceforge.net because you indicated interest in
            https://sourceforge.net/p/freeglut/bugs/245/

            To unsubscribe from further messages, please visit
            https://sourceforge.net/auth/subscriptions/


            [bugs:#245]https://sourceforge.net/p/freeglut/bugs/245/ Win32: Fixed a bug regarding WM_SIZE processing.

            Status: closed-out-of-date
            Group:
            Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
            Last Updated: Sat Jun 09, 2018 06:59 PM UTC
            Owner: nobody
            Attachments:

            Hi all

            I am using freeglut in my open source project and encountered
            a problem related to maximizing a previously minimized opengl
            window. In this case my reshape callback function handler
            didn't get called leading to a non-refreshed opengl frame buffer.

            In order to get around that, I changed the code responsible for
            processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
            is considered for visibility state changes. As a result my handler gets
            called for the above mentioned scenario. Based on these changes
            I built my own freeglut.dll for usage in my project.

            My changes are highlighted in the attached screenshot taken from
            winmerge.

            I would be glad if my changes made it into your code repository
            so that others can benefit from them.

            They are based on the official freeglut library v3.0.

            Best regards
            Frank


            Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/freeglut/bugs/245/

            To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

             

            Related

            Bugs: #245

            • Diederick C. Niehorster

              Yes, it is time for a new release.

              All the best,
              Dee

              On Wed, Jun 13, 2018, 04:28 rcmaniac25 rcmaniac25@users.sourceforge.net
              wrote:

              I'm fine with this. I don't see any recent
              issues/PRs that I think "must" be done
              before release.

              Vinnie


              From: John Fay fayjf2@users.sourceforge.net
              Sent: Tuesday, June 12, 2018 9:43 PM
              To: [freeglut:bugs]
              Subject: [freeglut:bugs] Re: #245 Win32: Fixed a bug regarding WM_SIZE
              processing.

              Is it time for a new release?

              On 6/10/2018 4:29 AM, Diederick C. Niehorster wrote:

              Hi Marc,

              They aren't in the release indeed, they are in svn trunk.

              All the best,
              Dee

              On Sun, Jun 10, 2018, 03:14 Marc Berger zzador@users.sourceforge.net
              zzador@users.sourceforge.netzzador@users.sourceforge.net
              wrote:

              Seems that your changes aren't in the current 3.0.0 release


              [bugs:#245] https://sourceforge.net/p/freeglut/bugs/245/ Win32:
              Fixed a bug regarding WM_SIZE processing.

              Status: closed-out-of-date
              Group:
              Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
              Last Updated: Sat Jun 09, 2018 06:59 PM UTC
              Owner: nobody
              Attachments:

              Hi all

              I am using freeglut in my open source project and encountered
              a problem related to maximizing a previously minimized opengl
              window. In this case my reshape callback function handler
              didn't get called leading to a non-refreshed opengl frame buffer.

              In order to get around that, I changed the code responsible for
              processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
              is considered for visibility state changes. As a result my handler
              gets
              called for the above mentioned scenario. Based on these changes
              I built my own freeglut.dll for usage in my project.

              My changes are highlighted in the attached screenshot taken from
              winmerge.

              I would be glad if my changes made it into your code repository
              so that others can benefit from them.

              They are based on the official freeglut library v3.0.

              Best regards
              Frank


              Sent from sourceforge.net because you indicated interest in <
              https://sourceforge.net/p/freeglut/bugs/245/>

              To unsubscribe from further messages, please visit <
              https://sourceforge.net/auth/subscriptions/>


              [bugs:#245]https://sourceforge.net/p/freeglut/bugs/245/
              https://sourceforge.net/p/freeglut/bugs/245/ Win32:
              Fixed a bug regarding WM_SIZE processing.

              Status: closed-out-of-date
              Group:
              Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
              Last Updated: Sat Jun 09, 2018 06:59 PM UTC
              Owner: nobody
              Attachments:

              • winmerge_differences.png

              https://sourceforge.net/p/freeglut/bugs/245/attachment/winmerge_differences.png
              (45.9 kB; image/png)

              Hi all

              I am using freeglut in my open source project and encountered
              a problem related to maximizing a previously minimized opengl
              window. In this case my reshape callback function handler
              didn't get called leading to a non-refreshed opengl frame buffer.

              In order to get around that, I changed the code responsible for
              processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
              is considered for visibility state changes. As a result my handler gets
              called for the above mentioned scenario. Based on these changes
              I built my own freeglut.dll for usage in my project.

              My changes are highlighted in the attached screenshot taken from
              winmerge.

              I would be glad if my changes made it into your code repository
              so that others can benefit from them.

              They are based on the official freeglut library v3.0.

              Best regards
              Frank


              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/freeglut/bugs/245/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/


              [bugs:#245]https://sourceforge.net/p/freeglut/bugs/245/ Win32: Fixed a
              bug regarding WM_SIZE processing.

              Status: closed-out-of-date
              Group:
              Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
              Last Updated: Sat Jun 09, 2018 06:59 PM UTC
              Owner: nobody
              Attachments:

              Hi all

              I am using freeglut in my open source project and encountered
              a problem related to maximizing a previously minimized opengl
              window. In this case my reshape callback function handler
              didn't get called leading to a non-refreshed opengl frame buffer.

              In order to get around that, I changed the code responsible for
              processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
              is considered for visibility state changes. As a result my handler gets
              called for the above mentioned scenario. Based on these changes
              I built my own freeglut.dll for usage in my project.

              My changes are highlighted in the attached screenshot taken from
              winmerge.

              I would be glad if my changes made it into your code repository
              so that others can benefit from them.

              They are based on the official freeglut library v3.0.

              Best regards
              Frank


              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/freeglut/bugs/245/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/


              [bugs:#245] Win32: Fixed a bug regarding WM_SIZE processing.

              Status: closed-out-of-date
              Group:
              Created: Sun Apr 01, 2018 02:17 PM UTC by dexterity2000
              Last Updated: Sat Jun 09, 2018 06:59 PM UTC
              Owner: nobody
              Attachments:

              Hi all

              I am using freeglut in my open source project and encountered
              a problem related to maximizing a previously minimized opengl
              window. In this case my reshape callback function handler
              didn't get called leading to a non-refreshed opengl frame buffer.

              In order to get around that, I changed the code responsible for
              processing WM_SIZE messages so that its parameter SIZE_MAXIMIZED
              is considered for visibility state changes. As a result my handler gets
              called for the above mentioned scenario. Based on these changes
              I built my own freeglut.dll for usage in my project.

              My changes are highlighted in the attached screenshot taken from
              winmerge.

              I would be glad if my changes made it into your code repository
              so that others can benefit from them.

              They are based on the official freeglut library v3.0.

              Best regards
              Frank


              Sent from sourceforge.net because you indicated interest in <
              https://sourceforge.net/p/freeglut/bugs/245/>

              To unsubscribe from further messages, please visit <
              https://sourceforge.net/auth/subscriptions/>

               

              Related

              Bugs: #245

  • Marc Berger

    Marc Berger - 2018-06-09

    Downloaded & build sources: Problem remains

    Looked into src: No change found. Just the old line. Fixed it myself & rebuild. Works now.

     

    Last edit: Marc Berger 2018-06-09

Log in to post a comment.