https://bugs.kde.org/show_bug.cgi?id=417210

--- Comment #6 from glyphi...@gmail.com ---
(In reply to Thomas Fischer from comment #5)
> (In reply to glyphimor from comment #4)
> > Tested the linked version. Issues:
> > a) Typo in dialog text ("The current entry has been modified. Do you want do
> > discard your changes?") -- should be "to discard"
> > b) Behavior for Esc and Cancel differs after editing a text field: Esc
> > closes w/o dialog, losing changes; Cancel correctly raises the dialog.
> > c) Similarly, behavior for Esc and Cancel differs after
> > adding/removing/editing a text field (e.g. Author or External): Esc closes,
> > losing changes; Cancel raises dialog
> > d) Changes to a Plain Text/Reference/Source Code dropdown menu are saved
> > whether the user hit Ok, Cancel, or Esc -- they can't be discarded
> > e) Setting a checkbox (e.g. "et al"), Esc saves rather than discards; Cancel
> > correctly raises dialog
> > f) Clearing a checkbox, Esc discards and doesn't raise dialog; Cancel
> > correctly raises dialog
> I think I fixed all those issues with two comments (6fe7fa3a33755d and
> 3e145c0516a9eaa). I did a force-push to the same repository/branch as I
> mentioned in comment 2, so you can run the same command again (remove old
> temporary directories first).
> Please test and confirm that it is working now.

Tested. All appear resolved except (d). Current behavior on Plain
Text/Reference/Source Code dropdown menus is:

- dropdown menu changes do trigger the discard dialog, but...

- when the attached text field is blank, the dropdown menu's value is "saved"
whether the user discarded or saved

- but I think the menu value only gets saved to the dialog window. Example: I
have 2 elements, both w/ a blank Abstract. The pulldown menu for both elements'
Abstracts are set to Plain Text. I edit element 1 and change its Abstract's
dropdown from Plain to Source. Whether I discard the change or not, if I then
re-open element 1, the Abstract dropdown is still set to Source. If I view the
2nd element, its Abstract's dropdown also shows Source.

- in contrast, when the Abstract field isn't blank, the pulldown menu always
says Plain Text -- if I change it to Source and click OK, then re-open, it
still says Plain.

- ... however, even if the field says Plain Text, TeX commands are interpreted
correctly in e.g. the Reference Preview. In effect, maybe Source Code is really
always set, but the dropdown always shows Plain Text.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to