epasveer / seer

Seer - a gui frontend to gdb
GNU General Public License v3.0
2.09k stars 66 forks source link

UX bug or flaw: scaling behavior turns "Logger" tab trivially fast into unusable #156

Closed ell1e closed 10 months ago

ell1e commented 11 months ago

Sadly, the scaling behavior of the "Logger" tab seems to trivially turn it into unusable after just a single misguided selection:

seergdbloggerbug.webm

I don't know what the ideal way to fix it is, where long value can still be fully accessed somehow, but a less optimal way where long values can't fully be accessed to fix this would be to just chop it off with ... for whatever is too long. Maybe multi line cells would otherwise be the way to go?

In any case, how it works right now seems to quickly make it break with no good way to deal with it, so that's a bit frustrating.

Found bug in Seer version: 2.2 (build from "v2.2" GitHub tag with Qt6)

epasveer commented 11 months ago

Yah, I'll have to do something here,

Either truncate the selected variable name to "some .. happened" instead iof the full text "some bad thing happened"

Or don't resize column to fix the text width.

Or both,

epasveer commented 10 months ago

I've improved it to blank out the "Name" field if the "Value" field is an error. If the "Value" field has a real value, the the "Name" field will show the proper variable name.

The column resizing seems to be happy with this.

image

epasveer commented 10 months ago

The change is in "main".

epasveer commented 10 months ago

I'm going to close this issue. It can be reopened if required.