This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Simon, deactivates if scenario context is met

Tags: None
(comma "," separated)
GentooSimon
Registered Member
Posts
22
Karma
0
Hi Peter, ;)

For a long while i was not doing anything with Simon but now im getting back into it and even think i will host a github project with some scripts etc.

However: When I try to use my "Konsole" scenario, simon always deactivates itself. The Konsole scenario is Context sensitive and is only active if the window title is "Konsole". I see in the simon window, that it gets activated but simon itself deactivates instantly, so no speech is recorded/checked :-(

I noticed this behaviour only with context sensitive scenarios, all the others are fine. I flushed my Simon related configs but it is the same.
Any ideas ?

Thanks a lot ;D
GentooSimon
Registered Member
Posts
22
Karma
0
Ok i did some testing and it appears to be a issue that is not often there.

I restarted simon countless times and it only appears like 5 or six times in say ca 200 simon starts. Also i did reboot in between if this is relevant...
bedahr
Moderator
Posts
141
Karma
0
OS
Interesting. That may be a bug in the way that Simon tracks the active window that I haven't run into (yet).

If it's at least somewhat reproducible, would you mind opening a bug at bugs.kde.org? Thanks.

Best regards,
Peter
GentooSimon
Registered Member
Posts
22
Karma
0
Hello Peter,

Yes I will open an bugreport if I find a way to reproduce it for sure. Till now this problem only occurred two other times.

Maybe it could be related to the fact that after a model compilation simon gets automaticly activated ? (Sometimes even during model compilation)

Thanks for looking into it

Manuel
bedahr
Moderator
Posts
141
Karma
0
OS
Nah, that should be fine, honestly, but there's a ton of model switching in that situation (because Simond acts on the principle to activate as early and often as possible) so there might be a race condition that I missed. Either that or it's one on the client side. Both not terribly great prospects to be honest, but please do let me know if you can reproduce it at least somewhat reliably.

Best regards,
Peter


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]