Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.49.5 can't set equipment mode #3272

Closed
BLR-IIC opened this issue Nov 24, 2021 · 13 comments · Fixed by #3629
Closed

0.49.5 can't set equipment mode #3272

BLR-IIC opened this issue Nov 24, 2021 · 13 comments · Fixed by #3629
Assignees
Labels
Bug GUI User Interface

Comments

@BLR-IIC
Copy link

BLR-IIC commented Nov 24, 2021

With the new dockable unit display I can no longer set equipment modes at any time during the game. With the old pane there was a dropdown menu to allow for mode changes for equipment like ECM and targeting computers. That dropdown menu is no longer there, and the "Mode" button only changes weapon modes on the weapon list.

@Windchild292 Windchild292 added Bug GUI User Interface labels Dec 8, 2021
@SimonLandmine
Copy link

Dropdown menu on Systems tab is still showing for me on docked (and undocked) unit display in 0.49.5 MM Standalone (Win10, Java11), allowing me to change equipment modes. May relate to version/Java/OS?

@BLR-IIC
Copy link
Author

BLR-IIC commented Dec 12, 2021

I've experienced this on a Surface Pro 2 running Windows 10 and Java 15.0.2.

@SimonLandmine
Copy link

Thanks for confirming OS and Java version! Was it MM standalone or HQ bundle?

@Windchild292
Copy link
Contributor

Java 15 is not supported. Java 11 is our maximum supported version.

@BLR-IIC
Copy link
Author

BLR-IIC commented Dec 18, 2021

I just downgraded my Java to version 11 and I still don't have the mode dropdown:

image

@Windchild292 Windchild292 reopened this Dec 18, 2021
@BLR-IIC
Copy link
Author

BLR-IIC commented Dec 18, 2021

I wonder if it's somehow being cut off from the bottom of the unit display... Any time I undock the unit display the bottom seems missing. I am running this on a Surface Pro 2 after all.

@BLR-IIC
Copy link
Author

BLR-IIC commented Dec 18, 2021

image

@SimonLandmine
Copy link

Yep, you definitely appear to be missing the bottom of the unit display. I take it that resizing the unit display doesn't restore the missing portion?

@BLR-IIC
Copy link
Author

BLR-IIC commented Dec 29, 2021

Nope, resizing doesn't affect it. I manually played with window options in one of MegaMek's configuration files and didn't fix the problem. I'll have to try this on my 24" screen and see what happens.

@BLR-IIC
Copy link
Author

BLR-IIC commented Jan 7, 2022

I'm on the latest version (0.49.6) and it definitely appears that the unit display is cutting off the dropdown option for setting equipment mode. I think that's what's happening because the armor display on an aero unit is partially hidden by an abrupt end to the unit display's bottom edge:

image

@SimonLandmine
Copy link

What size monitor are you using? And what's your operating system?

@BLR-IIC
Copy link
Author

BLR-IIC commented Jan 8, 2022

Still same OS, same tablet, same Java - Windows 10, Surface Pro 2, Java 11. It's like the dockable unit display isn't automatically scaling to my screen size, or using a scroll bar. The screen is 10.6" with a max resolution of 1920x1080 scaled to 150%.

I bolded the last part because the 150% scaling is recommended by Microsoft to improve UX with the smaller screen, and it really does help. What seems to be happening is that MegaMek isn't properly adjusting to the scaling, making parts of the UI disappear as a result.

So now I know why it's happening. I just wish it wasn't happening :(

@BLR-IIC
Copy link
Author

BLR-IIC commented Jan 8, 2022

I did a little more research and found something helpful right on MegaMek's GitHub wiki: Add -Dsun.java2d.uiScale=1 to the configuration file. At least I won't have to mess with my Windows 10 screen scaling, but the UI for MegaMek aside from the menu bar at the top of the window is pretty small:

image

It seems that MegaMek needs to be friendlier to Windows UI scaling. Note that this was NOT a problem before the unit display became dockable in 0.49.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI User Interface
Projects
None yet
3 participants