Bug #1107

Bug #1106: RCP: 0.7.6, automatically opening exported chart file (and other files ?) in TXM text editor doesn't work

RCP: 0.7.6, automatically opening exported chart editor view and exported chart from nodes files don't work

Added by Sebastien Jacquot over 4 years ago. Updated 6 months ago.

Status:Feedback Start date:11/05/2014
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:Charts Spent time: -
Target version:TXM 0.8.1

Description

The preference "Show export result in the text editor" raises a null pointer exception when trying to open the exported chart file with internal viewer.

Validation test

  • creates some JFC charts
  • test to export chars editor view for all types of files from the editor tool bar
  • SVG should open a Batik SVG editor in TXM
  • PNG and JPEG should open a Web browser in TXM
  • BMP,GIF should open external viewer/editor
  • PDF should open external viewer/editor
  • test to export chars editor for all types of files from the Corpus view node entries
  • SVG should open a Batik SVG editor in TXM
  • PNG and JPEG should open a Web browser in TXM
  • BMP,GIF should open external viewer/editor
  • PDF should open external viewer/editor

The choice of which type of editor is opened according to the export file type is inherited from ancient code. We may define a better way of which type must be opened in internal viewers and which of them must be opened in external viewers (through preferences ? Something as a combo box with 3 entries like "Do not display exported results", "Display exported results in TXM", "Display exported results in external viewer"). see #1106

Actually, I think there is no real interest to re-open charts exported file directly in TXM,unlike the case of .txt, .csv result exports.

MD : OK Ubuntu 14.04, Windows XP and Mac OS X 10.6

History

#1 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 4 years ago

  • Subject changed from RCP: 0.7.6, automatically opening exported chart editor view file doesn't work to RCP: 0.7.6, automatically opening exported chart editor view and exported chart from nodes files don't work
  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 4 years ago

  • Parent task set to #1106

#4 Updated by Matthieu Decorde about 4 years ago

  • Description updated (diff)
  • % Done changed from 80 to 100

#5 Updated by Sebastien Jacquot about 4 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8

Moved to 0.7.8 because of the discussion needed about the choice of editors and external viewers to open for each type of file formats.

#6 Updated by Matthieu Decorde over 3 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#7 Updated by Sebastien Jacquot over 3 years ago

Back to 0.7.8 for the bug fix. Still need to discuss about the expected behaviors, feel free to split the ticket and change target.

#8 Updated by Sebastien Jacquot 11 months ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#9 Updated by Sebastien Jacquot 6 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

Also available in: Atom PDF