Activity log for bug #878262

Date Who What changed Old value New value Message
2011-10-19 15:06:39 Valerio bug added bug
2011-10-19 15:06:39 Valerio attachment added Windowactivatable.py Patch - Checks if the current file extension is in *latex_extensions* https://bugs.launchpad.net/bugs/878262/+attachment/2560556/+files/windowactivatable.diff
2011-10-19 15:07:35 Valerio description Context: GEdit 3.x (3.2 actually) and gedit-latex-plugin (3.3.1, i.e. the only one compatible with GEdit 3.x). Symptoms: The Latex Toolbar does not disappear if editing a non-latex file, namely a file whose extension is not in the list [.tex, .sty, .Rnw]. In particular, all the buttons from the toolbar disappears but the toolbar placeholder remains visibile. This not happens if the edited file has no extension (i.e. its name does not ends with *.something*) Solution: The patch in attachment solves the problem :) The problem (imho) is in the file *windowactivatable.py* located in /usr/lib/gedit/plugins/latex/ - Line 418 The toolbar is shown if the file has *some-extension*, regardless what it actually is! I've simply solved by checking that the file extension in *latex_extensions* (Btw, the latex_extensions variable is initialized and never used..) Please find the Patch in attachment! ;) All the best guys Context: GEdit 3.x (3.2 actually) and gedit-latex-plugin (3.3.1, i.e. the only one compatible with GEdit 3.x). Symptoms: The Latex Toolbar does not disappear if editing a non-latex file, namely a file whose extension is not in the list [.tex, .sty, .Rnw]. In particular, all the buttons of the toolbar disappear but the toolbar placeholder remains visibile. This not happens if the edited file has no extension (i.e. its name does not ends with *.something*) Solution: The patch in attachment solves the problem :) The problem (imho) is in the file *windowactivatable.py* located in /usr/lib/gedit/plugins/latex/ - Line 418 The toolbar is shown if the file has *some-extension*, regardless what it actually is! I've simply solved by checking that the file extension in *latex_extensions* (Btw, the latex_extensions variable is initialized and never used..) Please find the Patch in attachment! ;) All the best guys
2011-10-19 15:08:51 Valerio description Context: GEdit 3.x (3.2 actually) and gedit-latex-plugin (3.3.1, i.e. the only one compatible with GEdit 3.x). Symptoms: The Latex Toolbar does not disappear if editing a non-latex file, namely a file whose extension is not in the list [.tex, .sty, .Rnw]. In particular, all the buttons of the toolbar disappear but the toolbar placeholder remains visibile. This not happens if the edited file has no extension (i.e. its name does not ends with *.something*) Solution: The patch in attachment solves the problem :) The problem (imho) is in the file *windowactivatable.py* located in /usr/lib/gedit/plugins/latex/ - Line 418 The toolbar is shown if the file has *some-extension*, regardless what it actually is! I've simply solved by checking that the file extension in *latex_extensions* (Btw, the latex_extensions variable is initialized and never used..) Please find the Patch in attachment! ;) All the best guys Context: GEdit 3.x (3.2 actually) and gedit-latex-plugin (3.3.1, i.e. the only one compatible with GEdit 3.x). Symptoms: The Latex Toolbar does not disappear if editing a non-latex file, namely a file whose extension is not in the list [.tex, .sty, .Rnw]. In particular, all the buttons of the toolbar disappear but the toolbar placeholder remains visibile. This not happens if the edited file has no extension (i.e. its name does not ends with *.something*) Solution: Please find the solution in the patch in attachment :) The problem (imho) is in the file *windowactivatable.py* located in /usr/lib/gedit/plugins/latex/ - Line 418 The toolbar is shown if the file has *some-extension*, regardless what it actually is! I've simply solved by checking that the file extension in *latex_extensions* (Btw, the latex_extensions variable is initialized and never used..) ;) All the best guys
2011-10-19 16:16:59 Ubuntu Foundations Team Bug Bot tags patch
2011-10-19 16:16:59 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2012-05-23 14:36:57 Filipe Roque marked as duplicate 677974
2012-05-23 14:47:09 Filipe Roque removed duplicate marker 677974
2020-04-19 16:49:47 Pietro Battiston gedit-latex-plugin (Ubuntu): status New Fix Released