New mechanism for the Troubleshooting-Wizard

Discussion in 'Sandboxie (SBIE Open Source) Plus & Classic' started by DavidXanatos, Jun 4, 2024.

  1. DavidXanatos

    DavidXanatos Developer

    Joined:
    Sep 6, 2006
    Posts:
    2,524
    Location:
    Viena
    I have a situation where I'm not sure how much fringe issues a certain change may introduce and don't want to release a build that may bring in a lot of issue reports about things broken.
    Since the result of this change can be programmatically determined I can add a fallback to the old code and issue a SBIE Message that pops up each time the fallback is taken.

    This way the programs will work eider way just, in case the fallback/old code is needed, generating a SBIE Message.

    I think this is not quite ideal, as spamming the user with ignorable messages is not great.

    I think I'll solve the issue by defining certain SBIE Messages as Diagnostic this would have the effect that this messages would be silently collected during a given boxes operation and once the box is closed (that is the last process in it terminates) a single notification will be generated, eider just one or one per program which run in the sandbox, remains to be decided.
    It will behave like firewall or file recovery notifications, meaning it will pop up a window even if regular SBIE message pop ups are disabled, like with the aforementioned there would be a separate switch to disable those popups.

    The Notification would offer to open the Troubleshooting-Wizard, review the logged events and submit an issue report.

    Now why is this worth of an own topic?

    Well It would be expedient to add a button to submit an issue report from the notification window directly without opening the Troubleshooting-Wizard, many users may not care about reviewing the issue report up front so saving clicks would be user friendly.
    Well and then the inevitable next obvious question, should there be a switch that when selected by the user would allow for automated submission.
    I'm thinking when the Submit Issue Report button from the notification window is pressed, on the first press a confirmation dialog would appear offering to submit or cancel, as well offer a choice how to act in future, there the user could choose
    a) by default keep the confirmation window with options
    b) to not show the confirmation dialog again, to have just a single click to submit a report, no confirmation no success message, just click and forget.
    c) enable automatic report submission
    d) disable the mechanism so just silently drop all diagnostic messages and don't do anything.
    And of cause these options could be also changed in the settings window.


    What do you think?
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.