Comments (5)
I am not familiar with that portal, you should ask people who wrote the portal.
from ashpd.
Or some KDE developers to explain where those sections come from
from ashpd.
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.
my apologies for not being clear. by that i meant i have tested multiple create_session
s 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.
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)
- Links to the DBus interfaces no longer point to the right place HOT 3
- demo: Default view has a preselected panel HOT 1
- Change dependency ordering in Cargo.toml across gtk4/gtk4x11/gtk4wayland
- unable to build `ashpd-demo` on Ubuntu 23.10 HOT 1
- Support WindowIdentifier::from_native with X11 disabled HOT 2
- Simultaneous creation of proxies results in a "Can't reset a OnceCell" panic
- input_capture portal Signals are not working HOT 15
- Settings portal binding no contrast key? HOT 2
- Add persistence and session restore for the RemoteDesktop portal. HOT 4
- Add an input catpure demo HOT 1
- Instructions on how to run the demo HOT 1
- Response deserialization broken on master branch HOT 2
- Calling unimplemented portals should return a specific Error variant
- Global shortcuts: missing field session_handle HOT 1
- Unable to get WindowIdentifier on wayland due to protocol error when using gtk-layer-shell HOT 3
- Figure out a way to tie a Session to a specific portal
- Allow changing the HandleToken format HOT 2
- Windows and GTK4? HOT 1
- Notification tests with dummy data HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ashpd.