ra3xdh/qucs_s

Add background when rendering DC bias labels

Closed this issue ยท 13 comments

Hello, good morning.

Dc bias calculation doesnt render correctly the values in the circuit. The values are rendered abouve the circuit wires, and it hasnt a background color(maybe same color of the circuit windows? ). In the Ampmeter, the same issue also happens.
I think, the way that qucs studio works would be fit.

Im using windows 11 64x and qucs 24.4.1

Please submit a screenshot illustrating this issue. I didn't change the DC bias rendering in the recent release.

Please submit a screenshot illustrating this issue. I didn't change the DC bias rendering in the recent release.

I im doing it now. Must install again.

Here it is:

in Qucs-S
image

image

in Qucs Studio

image

It is a long known issue. Qucs-S and old Qucs always rendered DC bias in a such way. May be adding a background to the DC bias result will improve the readability. We will consider making this modification. QucsStudio is maintained by another developer and the source code has diverged from Qucs and Qucs-S a years ago.

It is a long known issue. Qucs-S and old Qucs always rendered DC bias in a such way. May be adding a background to the DC bias result will improve the readability. We will consider making this modification. QucsStudio is maintained by another developer and the source code has diverged from Qucs and Qucs-S a years ago.

Yep. Using a background color in font(I think the same as the background of the board), will definitelly improve the readability. And maybe not render the voltage in the terminals of the meters.

dsm commented

Hi @ra3xdh and @jgardona, I made some changes if it's OK, I'll sent PR. I modified value 4 point precision(but can be set or adding settings.) and ex convert 1.33000mA to 1.33mA and 1.0000mA to 1mA

image

image

You may test this is with a large schematics. This is a good example for test: https://github.com/ra3xdh/qucs_s/blob/current/examples/ngspice/audio_amp.sch

It may be useful to introduce a setting named like Transparent DC bias lables ON/OFF.

Its very good in my opinion. The colors are beautiful.

dsm commented

I tested, here is the result. Yes, we can add a transparency settings.
Before:
image

After:
image

Thats way more suitable to read.

@dsm, you may open the PR.

Fixed by #1130