Ticket #2142 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Fill function in Oficina does nothing.

Reported by: jfuhrer Owned by: alexandre
Priority: normal Milestone: Trial-2
Component: paint/drawing-activity (oficina) Version:
Keywords: Cc:
Action Needed: Verified: no
Deployments affected: Blocked By:
Blocking:

Description

OFW: Q2C18 Build: 505

The fill feature in Oficina is lagged to the point where it effectively does nothing. If you fill something and wait ~5 minutes, it will eventually do the fill you want. If you do anything in between, you will never get the fill.

Attachments

Oficina.log (43.6 kB) - added by jfuhrer 7 years ago.

Change History

Changed 7 years ago by jfuhrer

Changed 7 years ago by alexandre

  • owner changed from manu to alexandre
  • component changed from pixel paint (obsolete) to paint (oficina)
  • milestone changed from Untriaged to Trial-2

Changed 7 years ago by lincolnquirk

looking at Desenho.py, I suspect the problem is related to pumping GTK events (line 443) during the execution of other GTK events. I don't know exactly how these handlers work but it seems like it would be problematic especially with the double buffering that gets done.

Can it be optimized by avoiding get_pixel and put_pixel and using Numeric arrays, or perhaps drawing lines at a time instead of pixels?

Changed 7 years ago by alexandre

  • status changed from new to assigned

This funtion was changed, but I don't know which build has that modification.

Changed 7 years ago by pekayatt

  • status changed from assigned to closed
  • resolution set to fixed

new fill fuction, implemented on C module now it's very quickly, take around 3 secs to fill 800X600 screen on B3... we will try some new algoritms to make improvements

Note: See TracTickets for help on using tickets.