¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

0.3.10.beta5 - partial fix to "connected to internet"


 

Hi all,

I had some time and drafted a new beta based on the code for 0.3.10.beta5 to implement a partial fix of the behaviour triggered by the "connected to internet" checkbox in the mainwindow menu.

The windows compile is available here:



as the code required some invasive changes i am keeping it as on a separate branch for now.

As you know d-rats doesn't manage the ratflector connectivity's on the base of the mentioned checkbox, with this code the flag is partially considered, meaning that:

- at D-Rats startup the configuration of ""connected to internet"" it is considered, so if internet is flagged or unflagged it will start / not start ratflectors

- at changing the value of "connected to internet", d-rats will start the ratflectors (but not stop due to a bug i am struggling to solve)

- at saving any new config (i.e. from the save button in the preferences window), according to the value of "connected to internet" it will start (or stop) any ratflector configured and marked as enabled

so, in order to be connected, ratflectors need to be "enabled" into the preferences, and "connected to internet" need to flagged
?
Major issue: ?when the "connected to internet" it's put on flagged off (i.e. "don't connect to internet" it doesn't properly disconnect raftlectors).

to force a disconnect it is necessary to do it in two steps:
?- set "connected to internet" off
?- go into "preferences", disable the ratflector and click on save
?this will close the connection with the ratflector (no messages yet into the message bar)

NOTE: from toggling the "internet active" button this version should also allow to manually overcome the problem of d-rats silent disconnections from ratflectors?

I am aware this is quite unfinished, and that the "cancel" of the connections is cumberstone but this change required me some time and i think that there could be some drawbacks here and there, so i would really appreciate your feedback on deltas related to things which worked with 0.3.9 which are now broken.?

hopefully not many

thanks
maurizio