glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
57 stars 39 forks source link

Error when selecting units while scrolling #175

Open joaomarcoscsilva opened 6 years ago

joaomarcoscsilva commented 6 years ago

Usually, you can select a group of units by clicking and dragging a box around them. Sometimes, while drawing the selection box, the cursor will get close to the border of the screen and it will cause the map to scroll, in order to select more units than those in the screen: you would start selecting at one point, scroll the map and finish the selection at another point, and all units in between should get selected.

This is not what is currently happening, though. If you start selecting at one point, then scroll the screen and finish the selection at another, the only units that will get selected are those that fit within the screen at the last point. This makes selecting large groups of units very difficult, since it's impossible to select more units than those displayed at any given time in the screen.

andy5995 commented 6 years ago

Correct me if I'm wrong, but this is because you're unable to enter full-screen mode? You mentioned on Discord that Alt+enter didn't work for you...

This may be related to the ticket filed in the MG repo https://github.com/MegaGlest/megaglest-source/issues/93

We need a ticket here for that. @JoaoMarcosCSilva , could you create a ticket and add any relevant details, such as your OS version, etc.

But what you posted above bears further discussion. I never play in windowed mode; I find it too awkward so I'm not familiar with all the drawbacks.

joaomarcoscsilva commented 6 years ago

Ok, I'll create a new ticket for the windowed mode problem. However, it is totally unrelated to this one, since it happens in both windowed and full screen mode.