Autore Topic: Gestione della sessione  (Letto 428 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.723
  • Ne mors quidem nos iunget
    • Mostra profilo
Gestione della sessione
« il: 27 Settembre 2014, 00:24:45 »
Vi segnalo questa discussione:


" Revision 6392 introduced automatic session management. Not sure what it
means, but I think it is reason why I see some of my programs having two
instances after reboot, if I have not closed it before the reboot.

So, how to handle this? Can I disable the session management with some
code? Or do I need to write instance counter?


Jussi
"


" Normally with your desktop, whatever it is, run all its applications
through session manager, which is a program that register running
application when you quit your desktop, and run them back when you come
back.

But it needs support from the application.

Of course, if you one only one Gambas IDE window opened, you must have
only one reopened, in the same state. If you have two, this is a bug.

Session management can usually be disabled globally (at least in KDE,
from its control center).

I can't tell you more without more details.

Regards,

--
Benoît Minisini
"


" > But it needs support from the application.
>


What you mean by support from the application? That it is automatically
supported for all Gambas applications?



> Of course, if you one only one Gambas IDE window opened, you must have
> only one reopened, in the same state. If you have two, this is a bug.
>


There are two instances of my program, I think one is from startup script,
and other is from session manager.


Session management can usually be disabled globally (at least in KDE,
> from its control center).
>


My desktop is Xfce and I have disabled option "automatically save session
on logout".

Jussi
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »