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:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:
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.
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:
Related
Bugs: #243