inderdhir / DatWeatherDoe

Simple menu bar weather app for macOS
Apache License 2.0
526 stars 34 forks source link

Quitting and reopening the app removes the coordinates from the [latitude], [longitude] field #101

Closed masaki9 closed 1 year ago

masaki9 commented 1 year ago

Issue

Quitting and reopening the app removes the coordinates from the [latitude], [longitude] field in Configure. The coordinates do not persist in the UI. It is inconvenient that the user has to re-enter the coordinates whenever they want to change another setting, such as Refresh Interval, Show Weather Icon, or Show Humidity.

lat_long_issue

Steps to Reproduce

  1. Open the app (if it isn't already).
  2. Select Configure.
  3. Enter coordinates in the [latitude], (longitude] field.
  4. Click Done.
  5. The weather information in the menu bar is updated based on the coordinates as expected.
  6. Open the menu and select Quit.
  7. Open the app.
  8. Select Configure.
  9. Observe the [latitude], (longitude] field. You will see that the field is empty.

Expected Behavior

The [latitude], (longitude] field retains the coordinates the user has entered and is not blank when they restart the app.

System

MacBook Air M2 macOS 12.6.1

inderdhir commented 1 year ago

Bug fix is now live in 3.2.2!