fixed rule window size

Started by tessus, March 04, 2026, 11:27:08 PM

Previous topic - Next topic
Quote from: Monviech (Cedrik) on March 06, 2026, 09:39:04 PMI have linked the code where there is a comment about the new library used (tabulator) having some challenges with this resizing.

Thank you. I had an appointment this afternoon and I wasn't able to read up on it. I only saw the referenced issue in the comment, but need more time to look into it, which I will do this evening.

So, why didn't someone answer with: it was a workaround for a bug or limitation. Please open a github issue for further discussions. On one side I can certainly understand this, but there might be fixes or better libraries in the future. (As I mentioned before, I have to read up on it and maybe open an issue with the tabulator project.)
I like github, so I don't have a problem with it. But questions are usually closed in gh trackers referencing a forum or some other channel.

Which is why I asked my question in this forum (as a starting point). I certainly have no problem to move it over to gh. But in that case, please state in which repo, and other info: issue, discussion, ...

Quote from: Monviech (Cedrik) on March 06, 2026, 09:39:04 PMThe way you initially wrote with bold text and suggestive questions made it look like you were baiting for an argument.

Initially I did not write in bold. I wrote in bold to emphasize my unanswered questions. People tend not to answer questions, but rather give unrelated statements. This is not an OPNsense forum problem, but apparently how communication now works. 20 years ago, you asked a question and you got an answer to that exact question.
These days you get comments, deflection, part of an answer that could have been derived if all of it had been answered, or an answer that might not have anything to do with the question that was asked.

The answer "it was a deliberate design choice" by itself is utterly useless unless I am told why.

I was just trying to emphasize the question and I believe that is what bold is for. To emphasize text. I did not use all CAPS, btw.

Quote from: Patrick M. Hausen on March 06, 2026, 09:50:56 PMBut if at the top I select "show me 50 entries per page" there is absolutely no reason not to just render a table with 50 lines and let the browser and me handle it.

Thank you, this was exactly my point as well.

Quote from: Monviech (Cedrik) on March 06, 2026, 10:09:26 PMWe are constantly working on improving the user experience with the new tabulator library.

My point is that the user experience hasn't been improved in this case. At least not for me. For me the experience got worse in this specific case. Otherwise I wouldn't have brought it up. Please check my first post again. I mentioned that I missed rules because of this. I did not use profanity, nor did I attack anyone. I voiced an opinion. That's all. And apparently I am not alone with my opinion.
I will read up on the tabulator issue, but I am not a GUI person, which means I will be most likely over my head with this one.

So maybe there are options or ways to get back the old behavior even with the new library. If not, the new libary should fix this problem to actually improve the user experience. Otherwise you could just remove the "number-of-rules" button and the pagination functionality, since those things are pretty much useless now.

Apart from all that I am very happy with OPNsense. I am not someone to complain without reason and I actually still haven't complained yet. I mentioned that the user experience is worse for me. A complaint is filed, if the other party did something wrong. But I don't think that anybody did anything wrong in this case. A combination of circumstances led to an unfavorable result and I can't complain about something like this.

It looks like this topic applies to other parts of the webGUI too and at least one person found a nice workaround for it : https://forum.opnsense.org/index.php?msg=262103

Basically edit the CSS so the height is at least 2000 pixels :)


While I do not dislike the "Tabbed webGUI" maybe something like this that I posted a long time ago would be the better option : https://forum.opnsense.org/index.php?topic=50279.msg256063#msg256063
This way you will always have the total height of the webpage available for all the data and scrolling is also limited to just the data shown!
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Quote from: nero355 on March 07, 2026, 03:02:17 PMIt looks like this topic applies to other parts of the webGUI too and at least one person found a nice workaround for it : https://forum.opnsense.org/index.php?msg=262103

Basically edit the CSS so the height is at least 2000 pixels :)

Awesome, thank you for this. I converted that Tampermonkey script into a Stylus User Style and it works nicely.

Today at 12:31:32 AM #18 Last Edit: Today at 01:10:29 AM by OPNenthu
I'm curious to know what browser engines and screen resolutions are common.

My main setup is Firefox and the primary display is 2560x1440.  I don't run any Chrome based browsers, so am not sure if you all are seeing the same as me.

The issue I have is mostly with grid resizing and horizontal space.  I can get into a state where the grid columns overlap and obscure each other, requiring a horizontal scroll in addition to vertical.  All I need to do to get into this state is collapse the left-hand OPNsense menu, resize the grid, and then expand the menu again.  When the grid columns are obscured I cannot get them to correct themselves.

Pressing the grid reset button has no effect.  That's another issue- it only works sometimes.

The kicker is that (at least in Firefox) the horizontal scroll bar is barely visible and you don't really realize you have the option to scroll.  I only realized it by accident because my mouse has a horizontal scroll wheel that I activated.
N5105 | 8/250GB | 4xi226-V | Community

Quote from: tessus on Today at 12:22:38 AM
Quote from: nero355 on March 07, 2026, 03:02:17 PMIt looks like this topic applies to other parts of the webGUI too and at least one person found a nice workaround for it : https://forum.opnsense.org/index.php?msg=262103

Basically edit the CSS so the height is at least 2000 pixels :)
Awesome, thank you for this. I converted that Tampermonkey script into a Stylus User Style and it works nicely.
You are welcome!

But all kudos go to the guy who posted it in that topic IMHO ;)

Quote from: OPNenthu on Today at 12:31:32 AMI'm curious to know what browser engines and screen resolutions are common.

My main setup is Firefox and the primary display is 2560x1440.  I don't run any Chrome based browsers, so am not sure if you all are seeing the same as me.
Let's be honest :

It would be weird if the whole webGUI did not fit on your 2560x1440 and I am guessing 27 inch screen ?!


However my 24 inch 1920x1200 monitor struggles from time to time as can be seen in these screenshots that I took a while ago : https://forum.opnsense.org/index.php?topic=9245.msg259581#msg259581
I seriously had to ZOOM OUT (and A LOT too!) for some of them !! :'(



The reason I am mentioning the monitor size is the fact that these combinations probably don't need any kind of scaling for most people so everything is using 1:1 pixelmapping.
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

Today at 02:33:14 AM #20 Last Edit: Today at 02:35:06 AM by OPNenthu
Quote from: nero355 on Today at 02:22:27 AMIt would be weird if the whole webGUI did not fit on your 2560x1440 and I am guessing 27 inch screen ?!
There is a bug with the grid's ability to resize regardless.

Quote from: nero355 on Today at 02:22:27 AMHowever my 24 inch 1920x1200 monitor struggles from time to time
As does my secondary monitor and my laptop even more so :P

TBH, I was intrigued when I saw a comment from franco the other day that OPNsense supports mobile.  I never even imagined trying...
N5105 | 8/250GB | 4xi226-V | Community

Today at 02:53:07 AM #21 Last Edit: Today at 02:54:43 AM by nero355
Quote from: OPNenthu on Today at 02:33:14 AMTBH, I was intrigued when I saw a comment from franco the other day that OPNsense supports mobile.  I never even imagined trying..
I have used it once to tell a couple of guys to "bugger off" in a friendly way when they started asking a very stupid question : "Now that you no longer have any UniFi Router how do you update it from your phone ?"

#FacePalm...

For some people it's like their webbrowser died the same day that they discovered stupid apps for every damn simple basic thing! LOL!



And the actual joke is that I have never used any kind of UniFi related app! ^_^
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)