Giter Club home page Giter Club logo

Comments (7)

themighty1 avatar themighty1 commented on July 19, 2024 2

A temporary fix which worked for me:

insert here:

NOTES_MANAGER = new NotesManager();

the lines

NOTES_MANAGER = new NotesManager();

	if (Main.screenShield._activationTime > 0){
		// this is not the first login because screen lock
		// was already activated at least once
		NOTES_MANAGER._loadAllNotes();
		NOTES_MANAGER._showNotes();
	}

This will show all notes after unlock screen regardless of their previous show/hide state.

from notes-extension-gnome.

floe avatar floe commented on July 19, 2024 1

+1, happens to me as well, on 3.36.7.

from notes-extension-gnome.

maoschanz avatar maoschanz commented on July 19, 2024

fixable

You're implying it's a bug? Your title made it seem like a bug, but if notes are shown when you ask them to be shown, everything is fine.

When the extension is loaded, notes are hidden by default, and it's a feature: loading notes can take time, and people don't want their session startup to be delayed for a few seconds because of an extension. In the future i could make an option for this maybe

from notes-extension-gnome.

themighty1 avatar themighty1 commented on July 19, 2024

@maoschanz , thanks for looking into this.
what i had in mind was LockScreen/UnlockScreen, not login/logout.
would be nice if the extension could remember if it was visible when lockScreen happens and restore its visibility when screen is unlocked.

from notes-extension-gnome.

maoschanz avatar maoschanz commented on July 19, 2024

Sadly from the point of view of the extension, there is no distinction between a login/logout and a locking/unlocking: all the code knows is that something enabled or disabled the extension

The meaning of the new title of the issue is that, as you say, if you enable this option, it'll remember whether it was visible or not the last time i was disabled. But there will still be no distinction between login and unlocking

from notes-extension-gnome.

floe avatar floe commented on July 19, 2024

This would be very helpful - I tend to forget about my notes when they're not visible without me clicking the icon.

from notes-extension-gnome.

945fc41467 avatar 945fc41467 commented on July 19, 2024

I tried with @glerroo’s branch (line 37 if I am right), and it seems it doesn’t not work anymore.

from notes-extension-gnome.

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.