Prefilled default service name in save dialog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenLP |
Fix Released
|
Wishlist
|
mahfiaz |
Bug Description
Under advanced setting tab there could be "Default service name" option.
It could include a date, changeable in settings.
Default could be "Service %y-%m-%d"
It breaks down to the following parts:
Adding option to settings under advanced settings tab:
"Default service name:" and a text input box, a button to reset to default with icon (a circle, like an arrow, tip touching the start of it)
Under that, using smaller font:
"Default service name when saving a new service. You can use date placeholders like %y-%m-%d for e.g 2011-12-25. Leave it empty to use no default value."
Before saving one needs to check if the value really is sane and does not contain
* characters not usable in filename such as /\| (and maybe more)
* leading or following spaces
* does not contain wrong placeholders such as %s or any other which would result in an error
On saving we need to check if the value is anything other than the default, if so, we save the value to "servicemanager
When opening save dialog for a new service, it should check for the value:
settings.
Related branches
- Tim Bentley: Approve
- Raoul Snyman: Approve
- Andreas Preikschat: Pending requested
-
Diff: 388 lines (+249/-21)2 files modifiedopenlp/core/ui/advancedtab.py (+211/-18)
openlp/core/ui/servicemanager.py (+38/-3)
description: | updated |
Changed in openlp: | |
importance: | Undecided → Wishlist |
Changed in openlp: | |
assignee: | nobody → mahfiaz (mahfiaz) |
Changed in openlp: | |
status: | New → Fix Released |
Changed in openlp: | |
milestone: | none → 1.9.9 |
documentation bug: 936239