[Feature Request] Jump from event to edit Rule
Summary
Scenario:
- Imagine you have a rule rejecting a domain, then you see some app malfunctioning and suspect that rule is the cause.
- Go to the Events tab and set a Filter for that domain.
- You'll see the rule like in the screenshot.
- Now you want to temporarily disable the rule, but there's no context menu item for that, or editing the rule:
So you have to go to the Rules tab, and filter again.
Proposal
Adding a context menu like "Edit rule" to make it easy to edit the rule that triggered the event.
Thank you @tredondo , the only reason I've not added more features like this one to the GUI is because I want to migrate it to Qt6 first, and rewrite the main window along the way. It'll happen soon.
Thank you @tredondo , the only reason I've not added more features like this one to the GUI is because I want to migrate it to Qt6 first, and rewrite the main window along the way. It'll happen soon.
I think you are on the right path, Qt is much more important and it's better in the long run to prioritize it! The next Debian version, 13 (Trixie) will come with Qt 6.8.2 and 6.8 is an LTS release: https://www.qt.io/blog/qt-6.8-released Debian being an LTS release too, the next Ubuntu, its flavors and its derivatives will be based on this Debian version, which will be released this summer. So, if you can migrate it to Qt6, it will be great! BTW, one program that has already migrated to Qt6 and it's open source, is Qbittorrent and it works great on the aforementioned Debian and Qt versions. Maybe you can use it as an example if you get stuck somewhere with the migration. Maybe you can also copy the code that allows you to enable / disable the columns,move them and show that up / down arrow for sorting. I see that in OpenSnitch's UI only the column resize work, you can't enable / disable just the ones that you want, you can't move them to other order and clicking on them seem to work for sorting, but it doesn't show the arrows for the direction. All these things work in Qbittorrent and its code it's here on Github. Unfortunatelly I cannot read it to tell you exactly where it is.
I keep having use cases in which this feature would save so much time.
For example when I was AFK and OpenSnitch automatically denied a connection that I actually wanted made, I want to go from that Deny event (#1446) to the rule, and change it from Deny to Allow, and from the default duration to Forever.