inside an extension, a Dialog can't load a PNG file as background anymore the background remains gray. No error message bibisect -------- 3b96cd1325722d6dd24754150a1e7446adaa3ffc is the first bad commit commit 3b96cd1325722d6dd24754150a1e7446adaa3ffc Author: Matthew Francis <mjay.francis@gmail.com> Date: Wed May 27 23:14:39 2015 +0800 source-hash-e5bb5c52aeaeb60c8592b004efd88c30242e03a1 commit e5bb5c52aeaeb60c8592b004efd88c30242e03a1 Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> AuthorDate: Mon May 18 11:20:48 2015 +0900 Commit: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> CommitDate: Mon May 18 11:22:50 2015 +0900 add RenderContext to Window::PushPaintHelper, use Erase correctly Change-Id: Icc684a2dcfb4d92752b09768e5a908636910f302 bisect log ---------- $ git bisect log # bad: [dda106fd616b7c0b8dc2370f6f1184501b01a49e] source-hash-0db96caf0fcce09b87621c11b584a6d81cc7df86 # good: [5b9dd620df316345477f0b6e6c9ed8ada7b6c091] source-hash-2851ce5afd0f37764cbbc2c2a9a63c7adc844311 git bisect start 'latest' 'oldest' # good: [0c30a2c797b249d0cd804cb71554946e2276b557] source-hash-45aaec8206182c16025cbcb20651ddbdf558b95d git bisect good 0c30a2c797b249d0cd804cb71554946e2276b557 # good: [2ce02b2ce56f12b9fcb9efbd380596975a3a5686] source-hash-17d714eef491bda2512ba8012e5b3067ca19a5be git bisect good 2ce02b2ce56f12b9fcb9efbd380596975a3a5686 # good: [40875247f0002056effdf6d2fbe43627691cd86c] source-hash-93f0b14458a618ad575cd446680e5c4aa7d87bdc git bisect good 40875247f0002056effdf6d2fbe43627691cd86c # skip: [61f66b1a251477193d796411ca95f50d606ead45] source-hash-3fd5f8919ec2256c70ff26c14cb9f8065c5cb2f1 git bisect skip 61f66b1a251477193d796411ca95f50d606ead45 # good: [e7374cd735af2344dae55be40946d96633d2f6ee] source-hash-8a91528a3e03fe6e2923c33327b687ecf57adb0b git bisect good e7374cd735af2344dae55be40946d96633d2f6ee # good: [541837707e7b0c5f5335180de535043c43e78e8d] source-hash-0811de12ee6727bbb9d4265217833ba02301eed8 git bisect good 541837707e7b0c5f5335180de535043c43e78e8d # good: [ab7dc1f0829167681894eb9f833d7ab348d91669] source-hash-e27ee95cced755e52b62d6cb095bc911ca3fbbe6 git bisect good ab7dc1f0829167681894eb9f833d7ab348d91669 # bad: [03ebd7e7d3aea3e4988648fe964aebe8e53f6bcc] source-hash-867ccbc19b419e688c81485257371e2681a7775a git bisect bad 03ebd7e7d3aea3e4988648fe964aebe8e53f6bcc # bad: [c22b5b4cae1e3054dd10689471bf8b29138c29bd] source-hash-3ccacb47faa625563f8bf0af8d4c62c1eea6ce7c git bisect bad c22b5b4cae1e3054dd10689471bf8b29138c29bd # bad: [98bf0dc108775209e7644ad47f331265ec65561a] source-hash-7092c767b54df65e64b6059a531de4950c1a3b92 git bisect bad 98bf0dc108775209e7644ad47f331265ec65561a # bad: [b7e7b5be3a3388acbf10d0792359dcdb786ff732] source-hash-6896712f9e5c8005d0c7e4f6ab403a271d9586f7 git bisect bad b7e7b5be3a3388acbf10d0792359dcdb786ff732 # bad: [c798020710143a2d371025241043612db5251e1c] source-hash-3aebc670e1816a8f4f0759e97d8f39b6aab05044 git bisect bad c798020710143a2d371025241043612db5251e1c # bad: [3b96cd1325722d6dd24754150a1e7446adaa3ffc] source-hash-e5bb5c52aeaeb60c8592b004efd88c30242e03a1 git bisect bad 3b96cd1325722d6dd24754150a1e7446adaa3ffc # good: [14dd520bd2177e0af5ef0b2b97a281b161b279b7] source-hash-6fa87f3fde8316fe1e4c35d1dd5132dbd7d7d903 git bisect good 14dd520bd2177e0af5ef0b2b97a281b161b279b7 # good: [ba1284cee0c8a13810eb19284999f710116b3499] source-hash-6656e915c8e0348dcaeedb40a68ba308e174960b git bisect good ba1284cee0c8a13810eb19284999f710116b3499 # first bad commit: [3b96cd1325722d6dd24754150a1e7446adaa3ffc] source-hash-e5bb5c52aeaeb60c8592b004efd88c30242e03a1
How do you set the image as the background in a extension?
in myDialog.xdl deployed within the extension sets the dlg:image-src attribute example <dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="MydlgId" dlg:left="189" dlg:top="69" dlg:width="225" dlg:height="274" dlg:closeable="true" dlg:moveable="true" dlg:title="MyTitle" dlg:image-src="file:///the/path/to/deployed/extension//user/uno_packages/cache/uno_packages/3lymwT_/myExtension.oxt/icons/splashMouette.png">
sorry previous answer is wrong it is set by code, not through xdl file urlImage = convertToURL(getExtensionPath() + "icons/MyImage.png") oDlg.model.imageURL = urlImage
Created attachment 116599 [details] sample document with macro to reproduce needs the png file in the same directory
Created attachment 116601 [details] the png file to be in same directory than ods file
I confirm that in 5.0.0.3 no background image is shown
As per description this seems to be bibisected down to a RenderContext change, thus blocking on the tracker issue.
if of any help if background is set to a color as oDlg.model.BackgroundColor = rgb(0,255,0) --> it works
if of any help using a picto control ctrlImg = oDlg.getControl("ImageControl1") ctrlImg.model.imageURL = urlImage --> it works --> so the problem is bounded to dialogControl background Moreover, the oDlg.model.imageURL property is correctly set (even after endExecute)
Migrating Whiteboard tags to Keywords: (bibisected) [NinjaEdit]
Adding Cc: to Tomaž Vajngerl
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
still reproduced in Version: 6.0.4.1 Build ID: 1:6.0.4~rc1-4 Threads CPU : 8; OS : Linux 4.15; UI Render : par défaut; VCL: gtk3; Locale : fr-FR (fr_FR.UTF-8); Calc: group
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/f4e0cc1ff145287f80738f070a8c46a64b2f76d1%5E%21 tdf#92079 vcl: fix missing image background on dialog from basic It will be available in 6.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-6-3": https://git.libreoffice.org/core/+/4046b51e6f6bd31b0188d9c00273a1761254a9d6%5E%21 tdf#92079 vcl: fix missing image background on dialog from basic It will be available in 6.3.0.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Verified in Version: 6.4.0.0.alpha0+ Build ID: af37bb23f63b209af1193e20177c3aacbd777543 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded @Miklos, thanks for fixing this issue!!
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-6-2": https://git.libreoffice.org/core/+/1fd61b1a2aac3e52f3c0a0ab8fbd3ff5170713c3%5E%21 tdf#92079 vcl: fix missing image background on dialog from basic It will be available in 6.2.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.