Grammalecte  Artifact [51d36453b3]

Artifact 51d36453b34a3bd8fc68ebbf278c365fced588a442b3b31aefeec940aa81a66f:

Ticket change [51d36453b3] - Ticket [5060028585f1aa52|5060028585] <i>L&#39;éditeur lexical ne s&#39;ouvre pas</i> status still Open with 6 other changes by anonymous on 2024-11-24 18:11:54.
D 2024-11-24T18:11:54.725
J icomment Bonjour,\r\nJ'ai\saussi\sconstaté\sce\sproblème\ssous\ssystème\sGNU/Linux\s(Debian\stesting\spour\sêtre\splus\sprécis).\r\n\r\nPour\sle\sdéclencher\s(du\smoins\schez\smoi),\sil\ssuffit\sde\spresser\sla\stouche\s"Escape"\spour\sfermer\sla\sfenêtre\sau\slieu\sde\scliquer\ssur\s"Close".\sOuvrir\sà\snouveau\sl'éditeur\sn'aura\saucun\seffet.\r\n\r\nAprès\sun\spetit\scoup\sd'œil\sdans\sle\scode\spour\sLibreoffice,\sil\ss'avère\sque\sl'ouverture\sde\sl'éditeur\sest\sconditionnée\spar\sune\svariable\s'bClosed'\squi\sn'est\spas\smise\sà\s'True'\squand\son\spresse\s"Escape"\s(alors\squ'elle\sl'est\squand\son\sclique\ssur\s"Close").\r\n\r\nDu\scoup,\svoici\sun\scorrectif\ssi\sça\speut\sêtre\sutile\sou\sfaire\sgagner\sdu\stemps\s:\r\n\r\nIndex:\sgc_lang/fr/oxt/DictOptions/LexiconEditor.py\r\n==================================================================\r\n---\sgc_lang/fr/oxt/DictOptions/LexiconEditor.py\r\n+++\sgc_lang/fr/oxt/DictOptions/LexiconEditor.py\r\n@@\s-326,22\s+326,20\s@@\r\n\s\s\s\s\s\s\s\s\s\s\s\s\selif\sxActionEvent.ActionCommand\s==\s"Export":\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sself.exportDictionary()\r\n\s\s\s\s\s\s\s\s\s\s\s\s\selif\sxActionEvent.ActionCommand\s==\s'Info':\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\spass\r\n\s\s\s\s\s\s\s\s\s\s\s\s\selif\sxActionEvent.ActionCommand\s==\s"Close":\r\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sself.bClosed\s=\sTrue\r\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sself.xContainer.dispose()\s\s\s\s\s\s\s\s\s\s\s#\sNon\smodal\sdialog\r\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s#self.xContainer.endExecute()\s\s\s\s\s\s\s#\sModal\sdialog\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sself.doCloseWindow()\r\n\s\s\s\s\s\s\s\s\sexcept:\r\n\s\s\s\s\s\s\s\s\s\s\s\s\straceback.print_exc()\r\n\s\r\n\s\s\s\s\s#\sXTopWindowListener\s(useful\sfor\snon\smodal\sdialog\sonly)\r\n\s\s\s\s\sdef\swindowOpened\s(self,\sxEvent):\r\n\s\s\s\s\s\s\s\s\sreturn\r\n\s\r\n\s\s\s\s\sdef\swindowClosing\s(self,\sxEvent):\r\n-\s\s\s\s\s\s\s\sself.xContainer.dispose()\s\s\s\s\s\s\s\s\s\s\s#\sNon\smodal\sdialog\r\n+\s\s\s\s\s\s\s\sself.doCloseWindow()\r\n\s\r\n\s\s\s\s\sdef\swindowClosed\s(self,\sxEvent):\r\n\s\s\s\s\s\s\s\s\sreturn\r\n\s\r\n\s\s\s\s\sdef\swindowMinimized\s(self,\sxEvent):\r\n@@\s-669,8\s+667,12\s@@\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sif\si\s<\sxGridDataModel.RowCount:\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sxGridDataModel.removeRow(i)\r\n\s\s\s\s\s\s\s\s\sself.xGridControlLex.deselectAllRows()\r\n\s\s\s\s\s\s\s\s\sself.xNumLex.Label\s=\sstr(xGridDataModel.RowCount)\r\n\s\r\n+\s\s\s\sdef\sdoCloseWindow\s(self):\r\n+\s\s\s\s\s\s\s\sself.bClosed\s=\sTrue\r\n+\s\s\s\s\s\s\s\sself.xContainer.dispose()\s\s\s\s\s\s\s\s\s\s\s#\sNon\smodal\sdialog\r\n+\r\n\s\r\n\s#g_ImplementationHelper\s=\sunohelper.ImplementationHelper()\r\n\s#g_ImplementationHelper.addImplementation(LexiconEditor,\s'net.grammalecte.LexiconEditor',\s('com.sun.star.task.Job',))
J login anonymous
J mimetype text/x-fossil-plain
J priority Immediate
J resolution Open
J subsystem LibreOffice
K 5060028585f1aa52cf9989fea8a89aec9c690553
U anonymous
Z 3843942cd9fe6652ae2e6b9c92dfd8bf