Sign in

Please fix: Loosing data due to navigation with mouse buttons

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2664
    tonyj

    To whom it may concern,

    I am a new user and using Publii for a few days now. It makes a good first impression and seems to be an excellent tool for managing content.

    However, I just stumbled on a problem that caused me to loose some data (from a 30min writing session, nothing too dramatic).
    This may be a known problem, sorry for the duplicate then.

    To recreate the problem:

    • Create or edit a post, making a few changes.
    • Use the mouse buttons MOUSE4 / MOUSE5 to navigate to a previous page (for me its MOUSE4)
      (it looks to me, that publii is structured as a website, and the desktop application is a thin browser wrapping it)
    • Result: Your changes are lost without a warning.

    Expected  behaviour:

    • Issue a warning popup, like e.g. closing without saving, before letting me leave the current view
    • Alternative 1: Provide a way to recover changes, e.g. autosaving
    • Alternative 2: Disable the browserlike navigation shortcuts (make MOUSE4/MOUSE5 inactive)

    Does this happen for other users also? Is there anything I can do better (besides avoiding the mouse buttons)?

    This is actually the first bug report I have ever written in my personal life. I really like the app!

    #2669
    Tomasz DziudaTomasz Dziuda
    Moderator

    Hi,

    To be honest – it is a first kind of this report.

    I cannot reproduce it on my magic mouse on macOS – I suppose that you have some special “go back” button on your mouse.

    Also I cannot reproduce this issue using shortcut used for “Go back” action on Chromium.

    (yes, Publii is based on Electron so it is a browser-based desktop app).

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #2670
    Tomasz DziudaTomasz Dziuda
    Moderator

    Ok, I have found this one: https://www.electronjs.org/docs/api/browser-window#event-app-command-windows-linux

    I will block the browser-backward command what should fix your problems in the next release 🙂

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.