tradingview / lightweight-charts

Performant financial charts built with HTML5 canvas
https://www.tradingview.com/lightweight-charts/
Apache License 2.0
9.34k stars 1.61k forks source link

Chart window resizing not working, python3.12, lightweight-charts2.1 #1712

Open dalklein opened 4 days ago

dalklein commented 4 days ago

Lightweight Charts™ Version: (.venv312) dklein@MelbaToast:~/FiPy/tv_ib_ptl$ pip list | grep -E "lightweight-charts|webview|PyQtWebEngine" lightweight-charts 2.1 PyQtWebEngine 5.15.7 PyQtWebEngine-Qt5 5.15.15 pywebview 5.3 webview 0.1.5

Steps/code to reproduce: changed to python 3.12, from 3.11. Was working as expected previously

Actual behavior:

The window resizing by left clicking the edge of the window does not work. the left-right or up-down cursor does not appear when floating over the edge of the window. The window can still be resized by right clicking the title bar of the plot window and selecting resize, then moving the pointer to a window edge. The first edge it hits can be dragged to change the window size at that time.

Expected behavior: able to left click and drag window edges to resize.

Anyone else seen this? Any advice to fix it? Thanks for the nice tv style plotting!

SlicedSilver commented 4 days ago

If you could please provide a reproduction of the issue using purely web technologies (like on JSFiddle, Glitch.com, Stackblitz) and the latest version of the library then we will be able to investigate the issue further. Additionally if there is an issue with v2.1 it is not something that we would fix with a patch, as any new fixes will only be released on the latest version (v4.2).