Ticket #5917 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

paint loses text if text is last item added

Reported by: dsd Owned by: alexandre
Priority: normal Milestone: 10.1.3
Component: paint/drawing-activity (oficina) Version:
Keywords: 767 Cc:
Action Needed: test in build Verified: no
Deployments affected: Blocked By:
Blocking:

Description (last modified by Quozl) (diff)

Joyride 1520, paint version 15

I can reproducibly make Paint lose text that was added to a drawing:

  • open Paint,
  • draw a line or two,
  • click on the text tool, click somewhere on the image, type some text,
  • click the "Activity" tab,
  • click the "Stop" button in top right,
  • go into Journal, resume Paint activity.

At this point the text has disappeared.

Attachments

Change History

Changed 7 years ago by jg

  • milestone changed from Never Assigned to Future Release

Changed 6 years ago by brian

  • keywords 767 added
  • next_action set to never set

Confirmed with Paint 23, build 767.

Changed 4 years ago by Quozl

  • next_action changed from never set to design
  • description modified (diff)

Tested on 10.1.2 with Paint-27, this is still a data loss problem.

Ishan Bansal and Anubhav Aggarwal of SEETA appear to be working toward a fix to this. See for example http://patchwork.sugarlabs.org/patch/401/

From analysis of the code it seems the normal method to terminate a text entry in progress is to click in the drawing area.

The solution that I desire to this ticket is:

  • if a text entry is in progress, and the activity is stopped using either the "Stop" button or Control/Q, the text entry should be terminated as if the user had clicked in the drawing area, and then the activity should be stopped.
  • if a text entry is in progress, and the activity instance is saved using the "Keep" button, the text entry should be terminated as if the user had clicked in the drawing area, then the activity instance should be saved, then the text entry should return to being in progress.

Perhaps the last requirement in italics is too hard and could be omitted.

Changed 4 years ago by godiard

I think will be more complicate enable the proposed to the Keep button.

Changed 4 years ago by godiard

I think it will be difficult to enable the operation described to the Keep button.

Changed 4 years ago by Quozl

It might be done by copying the drawing area, terminating the text in that copy, and writing to the journal from the copy.

Changed 4 years ago by godiard

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

Changed 4 years ago by godiard

  • next_action changed from design to test in build
  • milestone changed from Future Release to 10.1.3

Will be in 353.

Note: See TracTickets for help on using tickets.