Preview Mode | Preset's Clear button Issue

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Chaudiya
Posts: 34
Joined: Mon Nov 14, 2022 12:06 am

Preview Mode | Preset's Clear button Issue

Post by Chaudiya »

Hi Cacti Team,

I've found an issue with Preview mode Preset clear button's not automatically reverting the graph to the default timespan.

Below is the default time span preset.
Preview Mode.png
Preview Mode.png (261.18 KiB) Viewed 462 times
After zooming or changing time span preset. Clicking the Clear button ,the preset bar timespan will reset to default. However the graph does not as seen below.
Preview Mode2.png
Preview Mode2.png (214.1 KiB) Viewed 462 times
You need to click the refresh button for the graph to be reset to the default. On Version 0.8.8h, pressing the clear button automatically reset the graph to the default preset which I think the expected behaviour.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Preview Mode | Preset's Clear button Issue

Post by macan »

Please create issue here https://github.com/Cacti/cacti
Let the Cacti grow!
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Preview Mode | Preset's Clear button Issue

Post by Osiris »

Maybe in 1.3 we fix that, to remove the other clear button.
Before history, there was a paradise, now dust.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Preview Mode | Preset's Clear button Issue

Post by TheWitness »

In my earliest days of web development, when I knew practically nothing, I collaborated with a user to create this Predefined Timespan function. Since then, it's been a real thorn in my side. I wanted it to be modular, but it's created a number of downstream issues with overuse of session variables.

So, I agree it should be merged into the main filter, but not in 1.2.25, but rather 1.3.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests