[Libreoffice-bugs] [Bug 150094] File properties dialog does not update with programmatically added Custom Fields

2023-01-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150094

Buovjaga  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
 Blocks||107659, 108747

--- Comment #3 from Buovjaga  ---
Thanks, added it as a .py file in share/Scripts/python and ran. I reproduce.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4172fcb7514ff8a9e9740ff0939e9a2f611edbce
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 25 January 2023


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107659
[Bug 107659] [META] Macro bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=108747
[Bug 108747] [META] File properties/settings (meta data) bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150094] File properties dialog does not update with programmatically added Custom Fields

2023-01-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150094

--- Comment #2 from wpeat...@gmail.com ---
Full code (in Python) is as follows:

==
import uno
import unohelper

g_ImplementationHelper = unohelper.ImplementationHelper()
g_ImplementationHelper.addImplementation(
None,"org.openoffice.script.MyImplementationForPythonScripts",
("org.openoffice.script.MyServiceForPythonScripts",),)

def properties_test(aaa=1):
doc= XSCRIPTCONTEXT.getDocument()
   
doc.getDocumentProperties().getUserDefinedProperties().addProperty('MyProp', 0,
'LibreOffice is the best')
===

To reproduce.

1. Run code
2. Look at file Properties (custom tab) --> no property there
3. Save and reload file.
4. Look at file Properties (custome tab) --> property is shown

tested on 7.2.7.2 Writer, Calc, Impress, Draw

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150094] File properties dialog does not update with programmatically added Custom Fields

2023-01-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150094

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1
 Whiteboard| QA:needsComment|

--- Comment #1 from Buovjaga  ---
Can you share the full code, so we can quickly test?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the code.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150094] File properties dialog does not update with programmatically added Custom Fields

2022-08-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150094

QA Administrators  changed:

   What|Removed |Added

 Whiteboard|| QA:needsComment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 150094] File properties dialog does not update with programmatically added Custom Fields

2022-07-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=150094

Mike Kaganski  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=13
   ||2145

-- 
You are receiving this mail because:
You are the assignee for the bug.