okopanja / SharkPlanner

SharkPlanner is a mod for entry of waypoints into ABRIS and PVI-800
GNU General Public License v3.0
5 stars 2 forks source link

Hidden sharkplanner UI blocking mouse clicks & dragging in other modules. #125

Open NordicCapra opened 4 months ago

NordicCapra commented 4 months ago

I think the issue started with 2.9 version of DCS, hidden sharkplanner UI elements are blocking mouse clicks and dragging in other modules. In Ka-50 sharkplanner also block any mouse actions in the area where the UI should be until I toggle it on and then back off.

I tried F-15E, F-16C, AH-64D, A-10C II same issue repeating on all modules, I also tried downgrading down to different versions all the way to 1.0 with same issue.

okopanja commented 4 months ago

Hi,

There was a similar issue that I already fixed which hijacked certain keybindings. This fix is not yet in any release since I work on 1.6. which will include some nice new features. Meanwhile wanted to release 1.5.3 which include the fix, but in the meanwhile I got #122 which looks like a false positive from the user.

Regarding your issue UI consists of several (DCS) windows. The crosshair is totally transparent to the mouse. When the UI is hidden there is a single window that actually remains visible but with non visible controls. This is how the SharkPlanner is able to react to LCTRL+LSHIFT+SPACE.

Please confirm:

okopanja commented 4 months ago

I just did some test in Viper:

  1. I could not reproduce the issue when the SharkPlanner was hidden. I was dragging the Dials in Viper and they worked just fine.
  2. I can confirm that when it's visible certain "windows" are preventing mouse clicks, since they themselves need mouse to function. I marked them on the picture.
  3. another possibility is that you somehow manage to trigger the bug that perhaps causes UI not to hide properly, if you upload logs I asked for I might be able to confirm. However this is still guessing. Inside dcs.log SharkPlanner should occur exactly on the single line. If there are more then one, they contain exceptions.
  4. Do you use VR?

image

okopanja commented 4 months ago

One more question: are there any additional MODs on your system? (I do not mean the modules, but e.g. DCS Scratchpad or anything else that might work as export script?

NordicCapra commented 4 months ago

If this only happened in modules which support sharkplanner just toggling it on and off works as a fix, but this happens in all the modules listed.

Regarding mods before 2.9 when Sharkplanner still worked I had scratchpad and theyway. After 2.9 and after Sharkplanner stopped working I added coordinate converter.

No VR. I'll add logs once I have the time at hand.

okopanja commented 4 months ago

@NordicCapra I made some preliminary checks for conflicts with other mods you mentioned:

It would be nice to see your Export.lua as well.

okopanja commented 1 month ago

A possibly related issue #133 was fixed with v1.6.1 release.

If your issue still persist add more information.