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: 2022-06-09 08:10 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 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 2017-09-18 08:39:59 UTC Comment hidden (obsolete)
Comment 4 Timur 2022-06-03 13:28:33 UTC Comment hidden (obsolete)
Comment 5 Winfried Donkers 2022-06-07 15:32:31 UTC Comment hidden (obsolete)
Comment 6 Timur 2022-06-09 08:10:07 UTC
(In reply to Winfried Donkers from comment #5)
> (In reply to Timur from comment #4)
> > I don't know how this is supposed to work, but I'd expect that when we in
> > 1st open window Medium/Labels set Brand that it automatically affects values
> > in Format. But it doesn't.
> 
> You need to select brand and type before the dimensions are set/changed.

Regardless, on 1st start of BC I choose Sheet and some A4 brand (assuming it's really A4) and in BC>Format I make changes to get 19,50x30,50 cm and I click New. Opened single page with User format of 19,50x30,50 cm in Writer>Format>Page. I'd expect 2 pages of A4.

I also don't know what "Reset" in BC>Format is supposed to do, not explained in Help.