Menu

#243 Freeglut and multi-monitor configuration (CalculiX CGX)

open
nobody
None
5
2018-01-24
2018-01-24
No

Hi,

In a multi-monitor configuration, the cgx version based on freeglut (static and dynamic link) displays the part of the program menu on the second monitor:

This is how it looks when using GLUT:

Regards
Rafal

Related

Bugs: #243

Discussion

  • John Tsiombikas

    John Tsiombikas - 2018-01-24

    The following is just an educated guess, because I didn't look at the code.

    It seems that the problem here is caused by the menu placement code deciding to put the submenu to the left side rather than the right side, due to checking the bounds of the first monitor, instead of the second one, and concluding that putting it to the right would place it out of bounds.

     
    • Diederick C. Niehorster

      Hi John,

      That is very possible (also without looking at the code). FreeGLUT
      isn't multimonitor aware.

      Rafał, I'd welcome a patch.

      All the best,
      Dee

      On Wed, Jan 24, 2018 at 4:34 PM, John Tsiombikas jtsiomb@users.sf.net wrote:

      The following is just an educated guess, because I didn't look at the code.

      It seems that the problem here is caused by the menu placement code deciding to put the submenu to the left side rather than the right side, due to checking the bounds of the first monitor, instead of the second one, and concluding that putting it to the right would place it out of bounds.


      ** [bugs:#243] Freeglut and multi-monitor configuration (CalculiX CGX)**

      Status: open
      Group:
      Created: Wed Jan 24, 2018 07:14 AM UTC by Rafał Brzegowy
      Last Updated: Wed Jan 24, 2018 07:14 AM UTC
      Owner: nobody

      Hi,

      In a multi-monitor configuration, the cgx version based on freeglut (static and dynamic link) displays the part of the program menu on the second monitor:

      This is how it looks when using GLUT:

      Regards
      Rafal


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

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

       

      Related

      Bugs: #243


Log in to post a comment.

MongoDB Logo MongoDB