Skip to content

TOPPView's updateLayer does not reload all data [233] #233

Closed

Description

@timosachsenberg

Submitted by cbielow on 2010-12-10 15:51:00

e.g. when updating a featureXML with new ConvexHulls, they will not be shown once the reload is done. Probably other feature data is affected as well.


Commented by cbielow on 2010-12-10 16:04:28:
** the update seems to work for mzML data though


Commented by timosachsenberg on 2011-02-09 13:58:44:
I could reproduce the bug with following additional notes:

  • first update of featureXML works
  • second and subsequent updates don't work

Reason: QFileSystemWatcher only triggers a fileChanged event for the first modification.
As I don't see any error in our code this might be a Qt problem. Somebody wants to give it a try?


Commented by hendrikweisser on 2011-02-10 14:10:49:
As a workaround, maybe try removing the path from QFileSystemWatcher and adding it again whenever there was a change? (So that every update is the "first" update.)

If even that doesn't work, maybe add a way to manually force a reload?


Commented by timosachsenberg on 2011-02-10 14:37:34:
Seems worth a try. Hope I will get to it before the release. Thanx for the comment.


Commented by timosachsenberg on 2011-02-10 16:46:24:
Quick fix removing and readding seems to fix the problem. Please test on your data.

  • fixed in [3932]
  • fixed in OpenMS 1.8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TOPPViewdefectminor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions