Bug #1108

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 result file doesn't work

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

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

100%

Category:Commands / Export Spent time: -
Target version:TXM 0.7.7

Description

Step to reproduce

  • create a concordance, index, lexical table, etc.
  • export data from menus or buttons

Log:

    at org.txm.rcpapplication.commands.OpenFile.openfile(OpenFile.java:143)
    at org.txm.rcpapplication.commands.OpenFile.openfile(OpenFile.java:160)
    at org.txm.rcpapplication.commands.function.ExportResult$1.run(ExportResult.java:183)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

I think it's a context/UI thread problem. The bug comes from window.getActivePage() in org.txm.rcpapplication.commands.OpenFile.openfile(File). window is null.

Validation test

  • set the "show export result in editor" preference
  • Create a concordance
  • Export the concordance from the corpora view
  • Export the concordance from the toolbar menu

MD : OK Linux64

History

#1 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#2 Updated by Sebastien Jacquot over 4 years ago

  • Description updated (diff)

#3 Updated by Sebastien Jacquot over 4 years ago

  • Parent task set to #1106

#4 Updated by Sebastien Jacquot over 4 years ago

  • % Done changed from 0 to 80

#5 Updated by Sebastien Jacquot over 4 years ago

  • Status changed from New to Feedback

#6 Updated by Matthieu Decorde over 4 years ago

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

#7 Updated by Matthieu Decorde over 4 years ago

  • Description updated (diff)

#8 Updated by Sebastien Jacquot over 4 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF