Feature #1036

RCP: X.X, do not delegate automatic update event to the RCP platform

Ajouté par Matthieu Decorde il y a presque 11 ans. Mis à jour il y a plus d'un an.

Statut:In Progress Début:06/10/2014
Priorité:Normal Echéance:
Assigné à:- % réalisé:

60%

Catégorie:Update Temps passé: -
Version cible:TXM 0.X.X

Description

To manage network access precisely (see proxy ticket #1022), we need to disable default update event manager RCP behavior.

Update events must:
  • be shown at the end of the RCP initialization, in a non-modal thread
  • have a preference to disable the automatic event

Solution 1

  • desactivate auto update feature in ApplicationWorkbenchAdvisor
  • call 'lookforupdates' command in a job at the end of TXM startup if the 'automaticallylookforupdates' option is set to true

Validation test

Run TXM with a proxy configured.

Observation: TXM still Freezes (see proxy ticket #1022)
Hypothesis: The UpdateHandler manages itself its progression dialog. If called from a UI synchronized Job, the UI is frozen when the UpdateHandler is stalled.

Solution 1.1

Don't call the UpdateHandler within a Job.

Observations

Sur le portable d'Alexis : TXM 0.7.8 mise à jour récente au 28/6.

a) au lancement, TXM se bloque dans la splash screen.
Hypothèse : TXM attend un timeout d'accès réseau pour pouvoir démarrer (?) - même en coupant le réseau, il attend des timeouts

Sur le portable de Serge : TXM 0.7.8-2017-04-20-16h25 (remarque : ce serait bien que les numéros de version de TXM s'affichent sous cette forme).

a) au lancement, TXM attend qlqchose (du réseau ?), avant de pouvoir finir le lancement ;

Historique

#1 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Description mis à jour (diff)

#2 Mis à jour par Serge Heiden il y a presque 11 ans

  • Description mis à jour (diff)

#3 Mis à jour par Sebastien Jacquot il y a presque 11 ans

  • Version cible changé de TXM 0.7.6 à TXM 0.7.7

#4 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Tâche parente mis à #1022

#5 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • % réalisé changé de 0 à 80

#6 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Statut changé de New à Feedback

#7 Mis à jour par Matthieu Decorde il y a presque 11 ans

  • Description mis à jour (diff)

#8 Mis à jour par Matthieu Decorde il y a plus de 10 ans

  • Description mis à jour (diff)
  • % réalisé changé de 80 à 70

#9 Mis à jour par Matthieu Decorde il y a plus de 10 ans

  • Description mis à jour (diff)

#10 Mis à jour par Matthieu Decorde il y a plus de 10 ans

  • Description mis à jour (diff)
  • Statut changé de Feedback à In Progress
  • % réalisé changé de 70 à 60

#11 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

The update process is still not executed in a UI interruptable Job. It's very less important now that we have changed the connection time out.
Now, when you execute "Check for updates" on a system configured with proxy but TXM is not well configured to use the proxy, the UI hangs up about 5 seconds then the null exception and "Software Site Contact" dialog error appears. The process is still not interruptable.
"Add an extension" works well too. An error appears about 2 seconds after the command is executed. And the process is interruptable.

#12 Mis à jour par Sebastien Jacquot il y a plus de 10 ans

Some modifications done in relation with this issue leads to the opening of the update versions list "big" dialog window skipping the old and traditional step of a discrete dialog telling to the user there is a new available update as "New updates available. Do you want to update TXM?", "Yes/No".

#13 Mis à jour par Matthieu Decorde il y a environ 8 ans

  • Description mis à jour (diff)
  • Version cible changé de TXM 0.7.7 à TXM 0.8.0a (split/restructuration)

#14 Mis à jour par Serge Heiden il y a plus de 7 ans

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.X.X

#15 Mis à jour par Sebastien Jacquot il y a plus d'un an

  • Tâche parente #1022 supprimé

Formats disponibles : Atom PDF