edgebips / tastybugs

Bugs in Tastyworks, sent, logged and tracked for follow-up
3 stars 0 forks source link

Positions painting updates are offset in the Trade Table view #15

Open blais opened 3 years ago

blais commented 3 years ago

Reporter: Martin Blais Date: 4/30/2021

https://docs.google.com/document/d/1Fb_n_NyMSqyZ5xVor8i9yg8fVV3fAqOsj3mmdSWcn7A/

Description of problem

When the window is resized the positions boxes on the Trade > Table (the options chain) are rendered incorrectly offset horizontally (not vertically). For example, they don't appear in the right column (or straddle a column).

User Impact

In the middle of trying to get out of a position on the morning of an earnings trade, I faced another problem (report) and in the process of bringing up another window I generate with some custom metrics, I resized the TW UI to make some space for those metrics on the side and ended up with boxes in the Delta column. That, combined with the fact I was seeing an incorrect set of positions (see report) made it doubly-confusing.

Steps to reproduce

Expected Behavior

The boxes should render squarely in their place.

Suggested improvements

N/A

Attachments

Here's a video that demonstrates unambiguously what the problem is:

Platform Details

TW version: 1.14.2
OS: Linux PopOS! (System76 derivatives of Ubuntu 20.10)
Java: Zulu11
lumia:~$ java -version
openjdk version "11.0.11" 2021-04-20 LTS
OpenJDK Runtime Environment Zulu11.48+21-CA (build 11.0.11+9-LTS)
OpenJDK 64-Bit Server VM Zulu11.48+21-CA (build 11.0.11+9-LTS, mixed mode)

I hope this helps. Thank you!

blais commented 3 years ago

(I haven't sent this yet I think)