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

When reload page in browser with graphs created scroll window always return to top #5378

Open
AntonBelogolovskiy opened this issue Jun 16, 2023 · 7 comments
Labels
enhancement General tag for an enhancement graphview Issue related to the Graphs page
Milestone

Comments

@AntonBelogolovskiy
Copy link

Cacti v. 1.2.25. When reload page in browser with graphs created scroll window always return to top

Scroll window position not saved and with reload page on press F5 is return to top of window.

Cacti v. 1.2.25 installed on Debian 11 server:

cat /etc/debian_version

11.7

php -v

php -v

PHP 7.4.33 (cli) (built: Feb 22 2023 20:07:47) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.33, Copyright (c), by Zend Technologies

apache2 -v

Server version: Apache/2.4.56 (Debian)
Server built: 2023-04-02T03:06:01

Desktop (please complete the following information)

  • OS: Windows 11 (with latest updates)

  • Browser : Firefox, Chrome (latest versions)

@AntonBelogolovskiy AntonBelogolovskiy added bug Undesired behaviour unverified Some days we don't have a clue labels Jun 16, 2023
@netniV
Copy link
Member

netniV commented Jun 16, 2023

I believe that is by design. Are you expecting something different or am I thinking of a different process ?

@TheWitness
Copy link
Member

Push the go or refresh buttons instead.

@AntonBelogolovskiy
Copy link
Author

I believe that is by design. Are you expecting something different or am I thinking of a different process ?

I'll try to explain:

  1. I open a chart window
  2. I scroll with the mouse wheel to the chart I need
  3. After a while, the page automatically refreshes and my scrollbar returns to the top of the page.
    The old version of cacti 0.8.8h did not have this behavior and was more convenient to use.
    Perhaps the problem is somewhere in the javascript.
    Can this be fixed?

@TheWitness
Copy link
Member

Yea, it can.

@AntonBelogolovskiy
Copy link
Author

Yea, it can.

can you help me with this?

@netniV
Copy link
Member

netniV commented Jun 23, 2023

It's a low priority feature for me. We could make it an option for 1.3, but right now it's not even on the road map.

@TheWitness
Copy link
Member

Not for 1.2.25, but I'll give it some thought for 1.3.0.

@TheWitness TheWitness changed the title Cacti v. 1.2.25. When reload page in browser with graphs created scroll window always return to top When reload page in browser with graphs created scroll window always return to top Jun 24, 2023
@TheWitness TheWitness added enhancement General tag for an enhancement graphview Issue related to the Graphs page and removed bug Undesired behaviour unverified Some days we don't have a clue labels Jun 24, 2023
@TheWitness TheWitness added this to the v1.3.0 milestone Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General tag for an enhancement graphview Issue related to the Graphs page
Projects
None yet
Development

No branches or pull requests

3 participants