Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuCI: Realtime graphs buggy after changing browser windows size #7502

Open
1 task done
ob45 opened this issue Dec 24, 2024 · 2 comments
Open
1 task done

LuCI: Realtime graphs buggy after changing browser windows size #7502

ob45 opened this issue Dec 24, 2024 · 2 comments

Comments

@ob45
Copy link

ob45 commented Dec 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

screenshots or captures

Hello and good day!

I've installed the newest OpenWrt Release Candidate RC-4 and have discovered a visual bug by accident.

When opening up any realtime graph on a small browser window and then expanding said window, the displayed info of graph will end up being stuck relative to the bast window size on the "coordinate system". This basically means it ends up staying in the middle and "spawning" new data from there instead of the most right side of the graph.

This ONLY works if you open up any graph in a very narrow browser window and then expand that window. It does NOT work when you open up the graph in a fully sized window and then make it small. In that case you have to reload the winow or switch to a different graph and reload!

This is the graph after opening it up small and then expanding the browser window:
image

This is the graph after doing the step above and waiting for a while:

image

This is how it should actually look like (always start on the most right side of the "coordinate system"):

image

Actual behaviour

As described on the "screenshots or captures" section

Expected behaviour

The graph should always start at the most right part of the coordinate system regardless of window size.

Steps to reproduce

Open up chrome in a very narrow window. Got to Status > Realtime Graphs and wait a couple seconds to fill up the graph.
After that expand the browser window and make it wide.

Additional Information

NAME="OpenWrt"
VERSION="24.10.0-rc4"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 24.10.0-rc4"
VERSION_ID="24.10.0-rc4"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r28211-d55754ce0d"
OPENWRT_BOARD="ramips/mt76x8"
OPENWRT_ARCH="mipsel_24kc"
OPENWRT_TAINTS=""
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 24.10.0-rc4 r28211-d55754ce0d"
OPENWRT_BUILD_DATE="1734915335"

What browsers do you see the problem on?

Chrome

Relevant log output

No response

@systemcrash
Copy link
Contributor

The graph window, and most other windows have a fixed size, which I think is based in the CSS. So this is more of a universal thing. Resizing the window will not affect the graph size (but viewing from a mobile device might).

@ob45
Copy link
Author

ob45 commented Jan 2, 2025

I too think that this is a CSS bug. Regarding the "universal thing" it depends what you mean.
Haven't tried this on the phone but considering you can't change (enlarge) the winow size there I don't think It would be an issue on the phone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants