ryzom / ryzomcore

Ryzom Core is the open-source project related to the Ryzom game. This community repository is synchronized with the Ryzom Forge repository, based on the Core branch.
https://wiki.ryzom.dev
GNU Affero General Public License v3.0
330 stars 89 forks source link

Mouse wheel doesn't work on the mission journal #176

Closed ryzom-pipeline closed 9 years ago

ryzom-pipeline commented 9 years ago

Original report by Rodolphe Breard (Bitbucket: rodolphe_breard, ).


Hi,

I'm running the Ryzom game with a self-compiled client from the compatibility branch. I've noticed the mouse wheel doesn't work on the journal mission to select the previous/next mission. Everywhere else the mouse wheel seems to work fine.

ryzom-pipeline commented 9 years ago

Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).


Please make sure you are using the lua and interface xml files from the repository.

To do so, add the gamedev directory in the repository to the data paths in your client configuration.

ryzom-pipeline commented 9 years ago

Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).


problem is for ui xml element (there is only one such element) which is handled by class CInterfaceGroupWheel (nel/gui/group_wheel.cpp).

I'm not too sure it gets registered properly because in CInterfaceParser::parseGroup, factory returns null for 'group_wheel' type.

I also added markers to group_wheel.cpp and none of them gets logged.

ryzom-pipeline commented 9 years ago

Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).


Is this an issue caused by the NLGUI split?

ryzom-pipeline commented 9 years ago

Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).


seems to be bug from gui split yes. In 32bit official linux client scroll wheel works

ryzom-pipeline commented 9 years ago

Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).


Link group_wheel.cpp, ref #176

ryzom-pipeline commented 9 years ago

Original comment by Jan Boon (Bitbucket: [Jan Boon](https://bitbucket.org/Jan Boon), ).


Does this fix it?

ryzom-pipeline commented 9 years ago

Original comment by Meelis Mägi (Bitbucket: [Meelis Mägi](https://bitbucket.org/Meelis Mägi), ).


yep, scroll wheel is now working