Tracker: Bugs

5 Related to #3565658, does not work with glew 1.9.0 - ID: 3598159
Last Update: Comment added ( mvejvoda )

Fedora rawhide was updated to glew 1.9.0 two days ago, and megaglest rebuilt.
I also did rebuild it locally and ensured I had everything up to date in my rawhide
computer, and the problem persisted.

The game is unplayable because mouse clicks are incorrect, usually right clicking
anywhere is interpreted as right click to close to the "town center". Double click
to select multiple units, or drag a rectangle to select multiple units also ends up
selecting wrong units, and cannot unselect after that.

The problem only manifests after game start, that is, menus work, and only
change I am aware is glew update. But it may be a side effect of something
else, so I am also attaching valgrind log of a few seconds in game.


Paulo Andrade ( pcpa ) - 2012-12-22 07:08:34 PST

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 8 )

Date: 2013-03-23 21:48:15 PDT
Sender: mvejvodaProject Admin

No reply so i am closing this bug.


Date: 2013-01-16 10:26:10 PST
Sender: mvejvodaProject Admin

svn has the flickering fixed and color picking is now the default way to
select units


Date: 2013-01-16 09:58:17 PST
Sender: pcpa

The problem with unselectable units appears to have been corrected, but
still there is screen flashing. So, I believe it is better to wait for a
more complete solution before a package update. Either way, I committed the
change with my test at
http://pkgs.fedoraproject.org/cgit/megaglest.git/commit/?id=bc021582cd9f7af8e9c7d922d84f213dc6e1e33f



Date: 2013-01-15 09:16:18 PST
Sender: tomreynProject Admin

Please try again, I think this issue where workers within a buildings'
selection box are not selectable is fixed in r4025 with
EnableColorPicking=1


Date: 2013-01-15 04:50:52 PST
Sender: pcpa

Besides the screen flashing, another issue I noticed was that selection
with color picking is not possible sometimes. Most common case is to have
several workers build a "town center" and end inside the selection box of
the building; for worker this can be worked around with "I" to select idle
workers... but "box selecting" should work in that case (after better
testing, box selecting appears to work with other driver, but that driver
also works with selectbuf).



Date: 2013-01-14 21:08:54 PST
Sender: mvejvodaProject Admin

As a sidenote we are looking at improving and possibly defaulting to color
picking as selectbuf is deprecated in newer opengl and buggy in various
drivers.


Date: 2013-01-10 18:13:04 PST
Sender: pcpa

Damn, I somehow missed the reply, and just figured it out now that
EnableColorPicking=1 cures the problem... Just commented about
it in https://bugzilla.redhat.com/show_bug.cgi?id=889685
At least I got some good megaglest debug sessions :-)
This appears to not happen in all drivers, well, at least not in the
intel driver, and apparently is a mesa software fallback problem.


Date: 2012-12-22 09:50:30 PST
Sender: tomreynProject Admin

For what it's worth, this seems to be the same effect I'm having on Ubuntu
12.10 (libglew1.8) but did not have on Ubuntu 12.04 (libglew1.6).
EnableColorPicking=1 in glestuser.ini works around it (but at a performance
penalty and with side effects). So far I blamed mesa for it.


Attached File ( 1 )

Filename Description Download
megaglest-valgrind.txt megaglest-valgrind.txt Download

Changes ( 5 )

Field Old Value Date By
close_date - 2013-03-23 21:48:15 PDT mvejvoda
allow_comments 1 2013-03-23 21:48:15 PDT mvejvoda
resolution_id None 2013-03-23 21:48:15 PDT mvejvoda
status_id Open 2013-03-23 21:48:15 PDT mvejvoda
File Added 458203: megaglest-valgrind.txt 2012-12-22 07:08:45 PST pcpa