After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 622518 - Gtranslator's comment functionality is unwieldy and prone to loss of data
Gtranslator's comment functionality is unwieldy and prone to loss of data
Status: RESOLVED FIXED
Product: gtranslator
Classification: Other
Component: general
1.9.x
Other Linux
: Normal normal
: 2.0
Assigned To: gtranslator-maint
gtranslator-maint
: 622516 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-06-23 19:26 UTC by Tomasz Chrzczonowicz
Modified: 2012-04-21 11:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update the po state to modified when a note is added (1.14 KB, patch)
2012-04-21 09:47 UTC, Carlos Garcia Campos
none Details | Review
Remove ok/cancel buttons to add new comments (4.31 KB, patch)
2012-04-21 10:25 UTC, Carlos Garcia Campos
none Details | Review
Remove ok/cancel buttons to add new comments (2.80 KB, patch)
2012-04-21 11:30 UTC, Carlos Garcia Campos
none Details | Review

Description Tomasz Chrzczonowicz 2010-06-23 19:26:05 UTC
Version: 1.9.11~git20100610
Source: https://edge.launchpad.net/~frandieguez/+archive/mabishu

Steps to add a comment
----------------------

1. Click "Add Note" in the Context section
2. Type in your comment.
3. Press Ok at the bottom.
_If you select another pair of strings in the table to the left, your comment is *GONE*_

How this could be better:
-------------------------

There could simply be a text field (memo field) in the same place.

1. You click it (anywhere in it)
2. You type your comment

Gtranslator then treats the file as changed and lets you save your changes with the "Save" menu item or CTRL+S. It keeps the comments in memory, instead of wiping them.

Poedit has something similar to what I'm describing.
Comment 1 Ignacio Casal Quinteiro (nacho) 2012-03-13 19:59:24 UTC
Another option is just listen to end-user-action in the text view and save all the time the comment so it will not be lost and in this way there is no need for an accept button. Just a button to close the add comment mode.
Comment 2 Daniel Mustieles 2012-04-06 16:08:34 UTC
*** Bug 622516 has been marked as a duplicate of this bug. ***
Comment 3 Carlos Garcia Campos 2012-04-21 09:47:41 UTC
Created attachment 212488 [details] [review]
Update the po state to modified when a note is added
Comment 4 Carlos Garcia Campos 2012-04-21 10:25:47 UTC
Created attachment 212490 [details] [review]
Remove ok/cancel buttons to add new comments
Comment 5 Carlos Garcia Campos 2012-04-21 11:30:06 UTC
Created attachment 212492 [details] [review]
Remove ok/cancel buttons to add new comments

Patch updated to leave the cancel button renamed as Done. Message is updated when buffer changes, but ui is only changed when done button is clicked.
Comment 6 Carlos Garcia Campos 2012-04-21 11:50:58 UTC
Pushed both patched, reviewed by nacho.