Jump to content

Actors selection in Atlas not working


cephalotus
 Share

Recommended Posts

It seems that since the release of A27, selecting actors in Atlas using Alt+Select (as usual) doesn't work at all. I was searching a bit and I didn't find anyone discussing the problem, so my question is if this is a known issue or I'm missing something. It's pretty unfortunate, because I'm unable to make my own maps currently. I tested it on two computers, both running on Linux Manjaro, and it's not working on either of these, but it worked on A26. The recent patch release didn't fix the issue.

Edited by cephalotus
Link to comment
Share on other sites

37 minutes ago, cephalotus said:

It seems that since the release of A27, selecting actors in Atlas using Alt+Select (as usual) doesn't work at all. I was searching a bit and I didn't find anyone discussing the problem, so my question is if this is a known issue or I'm missing something. It's pretty unfortunate, because I'm unable to make my own maps currently. I tested it on two computers, both running on Linux Manjaro, and it's not working on either of these, but it worked on A26. The recent patch release didn't fix the issue.

It is not a known issue as far as I am aware so thanks for reporting. Could be because arch and manjaro use sdl3 rather than sdl2. Maybe @hyperion can reproduce

Link to comment
Share on other sites

Hello @cephalotusmind if you help with some information regarding your  Linux Manjaro, im not sure what version of wxWidget you have there, can you tell me about it?

 

why?: the Atlas Editor relay on wxWidget to capture keyboards keys, so maybe can be related to a bug or kind of wxWidget but i would like to discard if this is the issue first

  • Like 1
Link to comment
Share on other sites

i would like to ask you two additional things:

1. An screenshot that show me the whole AtlasUI when you tried to click or select an actor :D

2. Maybe if you can record and upload the record to see what steps are you using to being able to catch any minimal detail that drive me to found the real issue

thx

Link to comment
Share on other sites

I can reproduce it with system wx.

If I build wx from source without the make it work for both x11 and wayland hacks the distribution adds the alt key starts working again. Instead it it triggers another issue with our code which makes Atlas useless. Namely wxGetKeyState is only usable for modifier keys with that codepath.

Will have to think more about how to go about it. There is also wx 3.4 in the making which likely will solve the x11 vs wayland issue (glcanvas) but trying to build against wx 3.3 fails, so atlas needs fixing for that as well, don't know yet how much work it would be yet.

TLDR, not something fixed in a few minutes.

Link to comment
Share on other sites

So there are now:

https://gitea.wildfiregames.com/0ad/0ad/pulls/8293

https://gitea.wildfiregames.com/0ad/0ad/pulls/8294

https://gitea.wildfiregames.com/0ad/0ad/pulls/8295

This allows to use GTK on pure Wayland builds of wxWidgets where "Alt" works as expected and the others are in preperation for wxWidgets 3.3/3.4.

 

The cause for the "alt" issue root lays in https://github.com/wxWidgets/wxWidgets/issues/22325 , guess we could work around it by directly depending on gtk (which I rather not) or check if it's possible to upstream a patch.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...