citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.4k stars 1.99k forks source link

FXDK Window Goes Blank Wen Right Clicking on Resource While Using Windows Scaling. #2588

Open RJMGames opened 3 weeks ago

RJMGames commented 3 weeks ago

What happened?

I'm legally blind so I use a 150% scaling in windows. I usually don't have any issues but with FXDK wen I create a resource then right click on it the entire FXDK program blanks out for me 2024-06-1216-11-18-ezgif com-video-to-gif-converter

I don't have this issue with VS Code it only seems to happen with this program. I'm happy to share more about my setup because I know not everyone has a setup like me for me being legally blind.

Expected result

Right click on resource and get a popup of options

Reproduction steps

1, set Windows display scaling to 150% 2, Increase font size slightly in windows

  1. Open FXDK
  2. Create a new resource
  3. Right click on the Resource

Importancy

Crash

Area(s)

FiveM, FxDK, ScRT: C#

Specific version(s)

fxdk Version: 1.63.2-cfx

Additional information

I've been having this issue for a while now. I came back after a while to try the program again and it still seems to be an issue so i'm reporting it

RJMGames commented 3 weeks ago

Also, I can confirm that dropping my windows scaling down to like 125% fixes the issue... but i need 150% my eyes suck. Not sure if this would be fixable but like I said this is the only program I have that issue with.

RJMGames commented 3 weeks ago

I think I know why this is happening. This is obviously just a theory, but I think it's because the menu options that pop up on the resources don't have a scroll bar to show all the elements at higher zoom levels. The code area right click menu has a scroll bar and does not mess up the program wen right clicking. I think the solution here is probably adding a scroll bar to the right click menu on resources.