Bug 112330 - Improve management of label formats
Summary: Improve management of label formats
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Labels-BusinessCards
  Show dependency treegraph
 
Reported: 2017-09-11 15:42 UTC by Kalle Richter
Modified: 2018-10-18 19:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalle Richter 2017-09-11 15:42:29 UTC
When creating labels on can choose from a predefined set of formats consisting of a combination of brand and type or stored formats. I suggest the following improvements:

  * The formats can't be deleted or edited in the UI (probably in a configuration file or database, but that's not very user friendly). It'd be nice if they were editable as well.
  * After the first custom format is saved, the second, third, etc. isn't displayed in the list of available types before closing the label creation dialog and reopening it.

I suggest to handle creation and editing in a dialog rather than the "Format" tab since that allows to control the UI more easily if a modal dialog is used.
Comment 1 Winfried Donkers (retired) 2017-09-14 06:03:26 UTC
(In reply to Kalle Richter from comment #0)
Thank you for your feedback.

>   * The formats can't be deleted or edited in the UI (probably in a
> configuration file or database, but that's not very user friendly). It'd be
> nice if they were editable as well.
The standard label formats are in an XML-file, but that file is embedded since quite some years now.
If you'd edit the standard label formats, you would loose your edits with updates. 
Should you encounter label formats that are missing, you can file a bug report with the label-specifications and I will add the label to the list.
That's why you can save as custom formats, which are kept in your personal profile.
I don't think making the standard labels as provided with LibreOffice editable is a good idea.

>   * After the first custom format is saved, the second, third, etc. isn't
> displayed in the list of available types before closing the label creation
> dialog and reopening it.
I agree that this behaviour is not very user friendly and that at least a message stating that the newly created labels will only be added to the list after reopening the label dialog.
 
> I suggest to handle creation and editing in a dialog rather than the
> "Format" tab since that allows to control the UI more easily if a modal
> dialog is used.
The 'label wizard' was enhanced some years ago by me (I normally work on Calc functions and not on UI). I don't think I have time available in the foreseeable future to work on enhancements.
If your familiar with UI control of dialogs, you're welcome to work on it. I can help you with code pointers if you need them. We also have a development mentor to help you with building LibreOffice.
Comment 2 Kalle Richter 2017-09-17 14:58:43 UTC
> If you'd edit the standard label formats, you would loose your edits with updates. 
> Should you encounter label formats that are missing, you can file a bug report with the label-specifications and I will add the label to the list.
That's why you can save as custom formats, which are kept in your personal profile.
> I don't think making the standard labels as provided with LibreOffice editable is a good idea.

The standard labels shouldn't be editable, but the user-created ones.

> I agree that this behaviour is not very user friendly and that at least a message stating that the newly created labels will only be added to the list after reopening the label dialog.

I'd call that a bug since after you saved your custom label, you want to see it in the list.

> The 'label wizard' was enhanced some years ago by me (I normally work on Calc functions and not on UI). I don't think I have time available in the foreseeable future to work on enhancements.
> If your familiar with UI control of dialogs, you're welcome to work on it. I can help you with code pointers if you need them. We also have a development mentor to help you with building LibreOffice.

A pity. I can't contribute anything codewise.
Comment 3 Winfried Donkers (retired) 2017-09-18 08:39:59 UTC
(In reply to Kalle Richter from comment #2)
> A pity. I can't contribute anything codewise.

Well, there's always the possibility that someone else sees possibilities to work on this enhancements.