Page 1 of 2
Why not focus on useful things?
Posted: Wed Apr 16, 2025 9:17 am
by Detlef Paschke
Hello,
You've done a really "great job" of fading individual pages from bottom to top when you change pages.
Why don't you try to get more important things working instead of incorporating such trivialities – like this fading – into ZM?
Just to give you an example, it still doesn't matter what you specify in the WEB_EVENTS_PER_PAGE option. The events page always initially displays 10 events per page, which you then have to change.
You should focus on things like that, not always on some trivialities! First, what's there should work properly!
Best regards,
Detlef Paschke
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 12:09 pm
by geraldbrandt
You could always help. If you can't code, putting money behind what you want is always a good idea.
The 10 events per page thing was fixed a long time ago.
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 12:22 pm
by Detlef Paschke
geraldbrandt wrote: ↑Wed Apr 16, 2025 12:09 pm
You could always help. If you can't code, putting money behind what you want is always a good idea.
The 10 events per page thing was fixed a long time ago.
Hello,
The problem mentioned hasn't been resolved and still exists. Criticism is met with, "You're welcome to work on the program yourself or donate your money!"
Any other word will be considered an insult.
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 4:48 pm
by IgorA100
At the bottom of the Events page you can always choose from the list how many events will be displayed on the page. The next time you visit the page, the last selected value will be used.
Or am I misunderstanding what problem you are reporting?
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 5:29 pm
by Detlef Paschke
No, that doesn't work. And it doesn't matter what's entered under WEB_EVENTS_PER_PAGE.
When you open the events page, it always starts with 10 events. Even if you've changed the display before, the next time you open the page, it starts with 10 events per page. It worked for a short time before some 1.37 ZM versions, but then it was "improved" again, and it stopped working again.

- Screenshot 2025-04-16 191152.png (7.14 KiB) Viewed 10063 times

- Screenshot 2025-04-16 191349.png (33.45 KiB) Viewed 10063 times

- Screenshot 2025-04-16 191428.png (3.34 KiB) Viewed 10063 times
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 6:16 pm
by IgorA100
Detlef Paschke wrote: ↑Wed Apr 16, 2025 5:29 pm
No, that doesn't work. And it doesn't matter what's entered under WEB_EVENTS_PER_PAGE.
As far as I remember, this option is deprecated and will be removed.
Detlef Paschke wrote: ↑Wed Apr 16, 2025 5:29 pm
When you open the events page, it always starts with 10 events. Even if you've changed the display before, the next time you open the page, it starts with 10 events per page..
I don't have this problem. I can't reproduce it.
Describe in more detail step by step how I can reproduce it.
I always have the number of events opened that was previously set on the Events page
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 6:27 pm
by Detlef Paschke
IgorA100 wrote: ↑Wed Apr 16, 2025 6:16 pm
Describe in more detail step by step how I can reproduce it.
I always have the number of events opened that was previously set on the Events page
What should I describe in detail? I go to the events page, and the selection is back to 10 events. It doesn't matter what I had previously set. What should I describe and how?
Re: Why not focus on useful things?
Posted: Wed Apr 16, 2025 7:48 pm
by IgorA100
Please follow the steps in the following order:
- Logout from ZoneMinder
- Clear browser cache and cookies
- Close all browser windows
- Open browser and Login in ZoneMinder
- Go to the options page and set WEB_EVENTS_PER_PAGE = 50
- Go to console
- Go to Events page and report how many records are displayed per page
- Change the number of records displayed to 100
- Go to console
- Go to Events page and report how many records are displayed per page.
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 9:12 am
by Detlef Paschke
IgorA100 wrote: ↑Wed Apr 16, 2025 7:48 pm
Please follow the steps in the following order:
- Logout from ZoneMinder
- Clear browser cache and cookies
- Close all browser windows
- Open browser and Login in ZoneMinder
- Go to the options page and set WEB_EVENTS_PER_PAGE = 50
- Go to console
OK
- Go to Events page and report how many records are displayed per page
Showing 1 to 10 of 154 rows 10 rows per page
- Change the number of records displayed to 100
- Go to console
OK
- Go to Events page and report how many records are displayed per page.
Showing 1 to 100 of 154 rows 100 rows per page
There must have been some old cookie stuck there. The question is, how stable and reliable is this if the setting is saved in cookies rather than via a setting? The results have been seen. It would have been better to make WEB_EVENTS_PER_PAGE work. Saving in cookies is unreliable and repeatedly causes problems.
The "great" new look, where pages now fade from bottom to top, is actually really "fun" when, for example, you're looking through last night's recordings and constantly switching to the next one. This look is so annoying, please at least provide a checkbox to disable it in case there's someone who doesn't want this look.
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 9:38 am
by IgorA100
Detlef Paschke wrote: ↑Thu Apr 17, 2025 9:12 am
Showing 1 to 10 of 154 rows 10 rows per page
Very strange...
Check the value of the cookie "zmEventsTable.bs.table.pageList" and report.
What browser version and operating system are you using?
Detlef Paschke wrote: ↑Thu Apr 17, 2025 9:12 am
It would have been better to make WEB_EVENTS_PER_PAGE work.
Please, no one objects, if you can CORRECTLY implement this WITHOUT using cookies, without loading the DB with unnecessary requests, etc. then please create a PR and everyone will be happy.
Detlef Paschke wrote: ↑Thu Apr 17, 2025 9:12 am
you're looking through last night's recordings and constantly switching to the next one.
At the moment, a complete page update is in progress. There were attempts to implement the update via AJAX, but it was not possible to do it quickly and CORRECTLY. We will definitely do it someday, but there is no exact time frame. If you help us with this, we will be grateful to you.
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 10:03 am
by Detlef Paschke
IgorA100 wrote: ↑Thu Apr 17, 2025 9:38 am
Very strange...
Check the value of the cookie "zmEventsTable.bs.table.pageList" and report.
How do I do that?
What browser version and operating system are you using?
Primarily Google Chrome on Windows 11, but the results are identical with Edge.
At the moment, a complete page update is in progress. There were attempts to implement the update via AJAX, but it was not possible to do it quickly and CORRECTLY. We will definitely do it someday, but there is no exact time frame. If you help us with this, we will be grateful to you.
In the last version I used, page switching was fine. But since the last update, it's been terrible.
Zoneminder Update: 1.37.66~20250317.98-bookworm > 1.37.66~20250414.278-bookworm
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 10:38 am
by IgorA100
In the browser, press F12, the development panel will open, then go to the tab Application->Storage->Cookies
There you can also change the Cookie value and check the work
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 10:43 am
by IgorA100
Detlef Paschke wrote: ↑Thu Apr 17, 2025 9:12 am
Saving in cookies is unreliable and repeatedly causes problems.
Ok, let's assume.
Where exactly (in what place) should the number of displayed events on the page be stored?
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 11:10 am
by Detlef Paschke
IgorA100 wrote: ↑Thu Apr 17, 2025 10:38 am
In the browser, press F12, the development panel will open, then go to the tab Application->Storage->Cookies
There you can also change the Cookie value and check the work
If I open ZM with the browser cache cleared, there are 10 events per event page again.
Showing 1 to 10 of 155 rows 10 rows per page
The cookie zmEventsTable.bs.table.pageList does not exist.
There is the cookie zmEventsTable_bs_table_pageList with the value 50.
If I change the dropdown to 100 events per page, the cookie zmEventsTable.bs.table.pageList with the value 100 appears.
Re: Why not focus on useful things?
Posted: Thu Apr 17, 2025 11:15 am
by Detlef Paschke
IgorA100 wrote: ↑Thu Apr 17, 2025 10:43 am
Ok, let's assume.
Where exactly (in what place) should the number of displayed events on the page be stored?
Where are the other settings I make in the ZM configuration saved? That can't be impossible, can it? ZM doesn't have a unique selling point. Other programs also allow you to make custom settings that work.