Cannot see png files in Office 2003 in WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Cannot see png files in Office 2003 in WINE

Post by dpatel »

I have MS Office 2003 installed using WINE 1.1.40 on Ubuntu 9.04. It works pretty well but I cannot see png images. I can insert them but it appears as just a blank box (if I save the file and open in openoffice it appears fine).

Any idea what's wrong?

PS: other image types appear correctly (e.g. jpg).
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Cannot see png files in Office 2003 in WINE

Post by dimesio »

dpatel wrote:I have MS Office 2003 installed using WINE 1.1.40 on Ubuntu 9.04. It works pretty well but I cannot see png images. I can insert them but it appears as just a blank box (if I save the file and open in openoffice it appears fine).

Any idea what's wrong?

PS: other image types appear correctly (e.g. jpg).
Set gdiplus to native, builtin.
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Post by dpatel »

Thanks - that did it. But it is extremely slow to 'draw' the image (not a large image either). Any ideas of how I can improve this?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

dpatel wrote:Thanks - that did it. But it is extremely slow to 'draw' the image (not a large image either). Any ideas of how I can improve this?
Which Office app is this? There's a known problem with Powerpoint 2003 rendering graphics slowly, but I haven't seen it in Word or Excel. http://bugs.winehq.org/show_bug.cgi?id=20882
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Post by dpatel »

Oddly it is fine in Powerpoint.

The problem was in MS Word 2003.

I also have a doc file with an image in the footer -> when I scroll down to the footer it causes Word to crash every time (not sure if it is png though). If I remove gdiplus override then this file no longer crashes but the graphics don't look quite right (I can see them so assume not png).
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

dpatel wrote:Oddly it is fine in Powerpoint.

The problem was in MS Word 2003.

I also have a doc file with an image in the footer -> when I scroll down to the footer it causes Word to crash every time (not sure if it is png though). If I remove gdiplus override then this file no longer crashes but the graphics don't look quite right (I can see them so assume not png).
Upgrade to 1.1.41, and if the problem persists, post console output.
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Post by dpatel »

Can you help me out with how. I've already got the dev repository in my software sources (http://www.winehq.org/download/deb) but the latest version is .40 not .41.

Is there another way to install?
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Post by dpatel »

From my .40 version here is the console o/p:
fixme:storage:Storage_ConstructTransacted Unimplemented flags 110022
fixme:storage:StgCreateDocfile Storage share mode not implemented.
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:UnixFolder_IShellFolder2_QueryInterface Unimplemented interface {bdeadf02-c265-11d0-bced-00a0c90ab50f} (unknown)
fixme:shell:UnixFolder_IShellFolder2_QueryInterface Unimplemented interface {bdeadf02-c265-11d0-bced-00a0c90ab50f} (unknown)
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:IShellView_fnSaveViewState (0x1abf78) stub
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:IShellView_fnSaveViewState (0x207058) stub
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:IShellView_fnSaveViewState (0x17931c0) stub
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:IShellView_fnSaveViewState (0x1797d50) stub
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:ISF_NetworkPlaces_fnParseDisplayName not implemented for L"::{D4480A50-BA28-11D1-8E75-00C04FA31A86}"
err:shell:SHGetFileInfoW pidl is null!
fixme:shell:ISF_NetworkPlaces_fnParseDisplayName not implemented for L"::{D4480A50-BA28-11D1-8E75-00C04FA31A86}"
err:shell:SHGetFileInfoW pidl is null!
fixme:shell:ISF_NetworkPlaces_fnParseDisplayName not implemented for L"::{D4480A50-BA28-11D1-8E75-00C04FA31A86}"
err:shell:SHGetFileInfoW pidl is null!
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:IShellView_fnSaveViewState (0x1a9b90) stub
fixme:shell:SHGetFileInfoW SHGFI_OVERLAYINDEX unhandled
fixme:shell:IShellView_fnSaveViewState (0x1a9ad0) stub
fixme:shell:IShellView_fnSaveViewState (0x17985e8) stub
fixme:win:EnumDisplayDevicesW ((null),0,0x321568,0x00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x70140 0x00000000
fixme:reg:GetNativeSystemInfo (0x32f794) using GetSystemInfo()
fixme:time:GetCalendarInfoW Unimplemented caltype 1
fixme:dciman:DCICreatePrimary 0x4e3c 0x2ae13c0
fixme:imm:ImmDisableIME (-1): stub
fixme:thread:NtQueryInformationThread Cannot get kerneltime or usertime of other threads
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:thread:NtQueryInformationThread info class 9 not supported yet
fixme:crypt:CRYPT_CriticalExtensionsSupported unsupported critical extension "2.5.29.32"
fixme:crypt:CRYPT_CriticalExtensionsSupported unsupported critical extension "2.5.29.32"
fixme:advapi:RegisterEventSourceW ((null),L"Microsoft Office 11"): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x000003e8,(nil),0x0008,0x000000ec,0x300971b4,0xdbc650): stub
err:eventlog:ReportEventW L"winword.exe"
err:eventlog:ReportEventW L"11.0.5604.0"
err:eventlog:ReportEventW L"3f314a2f"
err:eventlog:ReportEventW L"gdiplus.dll"
err:eventlog:ReportEventW L"6.0.3260.0"
err:eventlog:ReportEventW L"3ef36e6a"
err:eventlog:ReportEventW L"0"
err:eventlog:ReportEventW L"00040950"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

dpatel wrote:From my .40 version here is the console o/p:
This log is with native gdiplus? (I'm guessing yes.)

I did just remember one thing that might be the cause of the crash. Native gdiplus has a problem with nonconformant ttf fonts, and Ubuntu, I believe, installs some by default. Try winetricks fontfix and see if that fixes it.
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Post by dpatel »

And we have a winner!! :D

I did the font fix (that in itself did not resolve the issue). But I got a message to remove oriya fonts

Code: Select all

sudo dpkg -r ttf-oriya-fonts
That has fixed the crash I mentioned above. It does not seem to have fixed the slow png draw issue but unless you have any other suggestions I can hopefully live with that!

Thanks for your help!!
dpatel
Level 1
Level 1
Posts: 7
Joined: Fri Mar 19, 2010 7:21 pm

Post by dpatel »

PS: yes, the log was with gdiplus as just native (not native,builtin).
Locked