Coder Social home page Coder Social logo

Comments (6)

davidbannon avatar davidbannon commented on May 30, 2024

You have a working compiler dont you ? Grab the source and build with debugging on. In the IDE, set Mode to Debug or use ProjectOptions->Debugging->"Display line numbers... -gl"

I have not been able to reproduce here, could you describe just what you do ?
Blank Note ? Do you delete the existing Title and put the bullet point there ? Any blank lines between ? How do you creat the bullet (type text, select and click Bullet) ?

Does the exception occur as you set the text to Bullet or when the note is saved ?

from tomboy-ng.

davidbannon avatar davidbannon commented on May 30, 2024

Another thought (I have not tried this). Does this happen if you close the settings window without actually setting a Notes directory ? Its quite likely that would do something crazy....

from tomboy-ng.

traumschule avatar traumschule commented on May 30, 2024

from tomboy-ng.

davidbannon avatar davidbannon commented on May 30, 2024

Yes, I can confirm its because you have declined to set a Notes path but still opened a note. So many things depend on a valid path. Thats why the first thing tomboy-ng does when its opened is check that path, if its not valid, it pops up the setting box.
I guess I could close the app if the user insists on closing the setting box without setting a path.....
I cannot just let them continue because anything they do cannot be saved.
Or assume they want to use the default setting perhaps ? I don't like writing to a user's disk without their consent....
D

from tomboy-ng.

davidbannon avatar davidbannon commented on May 30, 2024

OK, have intercepted calls to open a new note or view the search box. If we don't have a Notes path, show a message, do nothing else. I cannot protect against someone removing the config file while the app is running.

from tomboy-ng.

traumschule avatar traumschule commented on May 30, 2024

Fixed in 92cac7c.

Usual users may not understand to first choose a directory and need to get a hint. In the future the default location should be used automatically. Now that tomboy-ng has it's own namespace there is virtually no chance to mess up .local/share/tomboy.

from tomboy-ng.

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.