Modify

Opened 5 years ago

Closed 4 years ago

#6606 closed defect (fixed)

Png file generate bug while refresh the page

Reported by: robin Owned by: robert_martin
Priority: normal Component: DiaVisViewPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

It seems that each time when you refresh the page, the png file would generate automatically if you haven't set the png file width on the wiki. Here is my solution: Change the code

    if (dia_mtime > png_mtime) or (existing_width != width): 

to

    if (dia_mtime > png_mtime) or (existing_width != width and width != None):

That's all.

Attachments (0)

Change History (2)

comment:1 Changed 4 years ago by debacle@…

The patch seems fine.

comment:2 Changed 4 years ago by Martin

  • Resolution set to fixed
  • Status changed from new to closed

(In [8093]) Patch from robin applied. Closes #6606.

Add Comment

Modify Ticket

Action
as closed The owner will remain robert_martin.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.