Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

cgame can mess up rendering of the console

Open slipher opened this issue 1 year ago • 2 comments

On @DolceTriade's server, the console scales up in size if I hover the mouse over the Lucifer Cannon in the armory menu while the console is open. Observe how the text on the left-hand side is cut off by the edge of the window.

unvanquished_2024-06-26_021112_000

I don't know how he did it, but my first guess is the RmlUi matrix transform API. Cgame shouldn't be able to alter rendering of the console.

There's probably at least 3 bugs at play here:

  • https://github.com/Unvanquished/Unvanquished/issues/2972
  • Something wired wrong with RmlUi transforms
  • Engine not cleaning up if cgame leaves a mess

slipher avatar Jun 26 '24 12:06 slipher

https://github.com/Unvanquished/Unvanquished/assets/1097524/9f410400-ef70-41e8-bdfb-4745d344aee8

Attached is a video. Likely a bug in our transform code.

An interesting thing is that it doesn't scale with all of the items, just that specific one. It happens with that specific position with the circle menus I tested.

Can repro on the The Lab Experiments | EU server.

DolceTriade avatar Jul 02 '24 00:07 DolceTriade

This is only partially addressed.

DolceTriade avatar Jul 03 '24 00:07 DolceTriade