Git Product home page Git Product logo

Comments (5)

dglent avatar dglent commented on August 20, 2024

I think that this happened because the unique city in the cities list is not selected by the mouse.
When there are more cities this doesn't occur because there is one focused by default.
I couldn't reproduced if i clicked on the city twice to translate it.

from meteo-qt.

pmattern avatar pmattern commented on August 20, 2024

I couldn't reproduced if i clicked on the city twice to translate it.

Sure. The crashes only take place following the steps depicted above. But they are 100% reproducible that way here.

I think that this happened because the unique city in the cities list is not selected by the mouse.

No, unlike I first thought as well this isn't involved. You can see this as follows

  1. Set up one or more cities as usual without provoking the crash we're discussing here. Restart meteo-qt.
  2. Open dialogue "Cities" from the settings. One of the cities will be marked by some semi-transparent highlighting. Open dialogue "City translation" by clicking button "Translate", leave this dialogue by clicking "Cancel" without taking any action.
  3. Back in dialogue "Cities" no city will be selected in any way. Yet clicking "Translate" does not trigger the crash.

Doesn't the CLI output in the GIST linked above suggest the problem is due to some variable not having assigned a value yet under the conditions in question?

from meteo-qt.

dglent avatar dglent commented on August 20, 2024

I could reproduce it only in this case:

  • Add the first city
  • Try to translate it just after adding it.
    This change handles the above case.

At all other cases the first city was activated by default by the dialogue.

from meteo-qt.

pmattern avatar pmattern commented on August 20, 2024

Yes, the crashes could only be seen under the conditions named above.
But the problem can no longer be seen running d84a7bc here.

from meteo-qt.

dglent avatar dglent commented on August 20, 2024

Ok, thanks very much for your help

from meteo-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.