Coder Social home page Coder Social logo

Storing session? about ashpd HOT 5 OPEN

tuxinal avatar tuxinal commented on August 29, 2024
Storing session?

from ashpd.

Comments (5)

bilelmoussaoui avatar bilelmoussaoui commented on August 29, 2024

I am not familiar with that portal, you should ask people who wrote the portal.

from ashpd.

bilelmoussaoui avatar bilelmoussaoui commented on August 29, 2024

Or some KDE developers to explain where those sections come from

from ashpd.

tytan652 avatar tytan652 commented on August 29, 2024

while using global shortcuts i've noticed every time create_session is called (and shortcuts are bound to it) it creates a new section in KDE's shortcut settings.

This sentence give the impression that you did not understand how the portal flow works (it can really differs from what you are used to), so it may not work like you expect. I may be wrong.

The paradigm of the portal expects you to gave a set of bindings in advance, after that the application has no control besides closing the session.
Note, that you can create multiple session but the user will get a prompt for each session.

i wish to avoid this.

You can't avoid this, this is how the portal is designed. The user only way to change a binding it through the DE settings.

is this even a reasonable way to do what i want to do? i couldn't find anything related to this in the x-d-p documentation

You did not clearly explain what you want to do.

from ashpd.

tuxinal avatar tuxinal commented on August 29, 2024

my apologies for not being clear. by that i meant i have tested multiple create_sessions at the same time so i could find out if the new set of bindings in the DE settings are caused by that. i don't intend to actually use multiple sessions at the same time.
my issue right now is every time my app starts i have to call create session and that causes a whole new set of keybinds to be created - but they aren't even enabled because the ones from last session are still enabled and are blocking the new ones to take effect. i assumed by loading the session from last time i could avoid that. but there is no way to do that (and i don't really have any evidence that might work in the first place, so i thought to ask)

from ashpd.

bilelmoussaoui avatar bilelmoussaoui commented on August 29, 2024

my issue right now is every time my app starts i have to call create session and that causes a whole new set of keybinds to be created - but they aren't even enabled because the ones from last session are still enabled and are blocking the new ones to take effect. i assumed by loading the session from last time i could avoid that. but there is no way to do that (and i don't really have any evidence that might work in the first place, so i thought to ask)

that looks like an issue on the KDE implementation

from ashpd.

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.