https://bugs.winehq.org/show_bug.cgi?id=54628
Bug ID: 54628 Summary: Opening files in Microsoft Word/Excel/Office 2010 results in opening an empty document Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: kle@bluewin.ch Distribution: ---
When I double-click a MS Office file then Word/Excel/Office 2010 starts up with an empty document. So the page/sheet is blank and it looks that the file doesn't contains any data.
However, there is no problem with the documents, they are fine. Instead it looks that there is a problem in the way how the files are opened. When the corresponding Word/Excel/Office 2010 file is opened out from the program then everything is okay and it is displayed correctly.
So this problem only happens when the Office 2010 file is opened by a double click.
Long story short, there exist a trivial workaround by disabling the hardware acceleration in Office 2010. Microsoft was so kind to provide the solution for that problem here:
https://learn.microsoft.com/en-us/office/troubleshoot/excel/excel-opens-blan...
In the end it looks that this problem can happen in some circumstances also on Windows. ;-)
For the record, this problem is present also on older Wine 7.x releases. So this is not a new regression and I am unsure if this ever worked before. (However, it took a while until I have found the workaround.)
https://bugs.winehq.org/show_bug.cgi?id=54628
C. Leu kle@bluewin.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu Component|-unknown |shell32
https://bugs.winehq.org/show_bug.cgi?id=54628
--- Comment #1 from C. Leu kle@bluewin.ch --- A short addition.
Unfortunately it looks that the mentioned fix "disabling the hardware acceleration" does not work in every case.
While it is possible to open a Word or Excel document via "Open with" (right-click on the mouse), this is not true for opening them via a double-click.
I have tested this at an other Wine 8.0 prefix. And even if the hardware acceleration is disabled in Office 2010, an empty file/sheet is shown when the document is opened via an double-click.
It is effectively unclear to me why the "disabling of the hardware acceleration" tweak is working only partially. Maybe I can figure out more in this topic...
https://bugs.winehq.org/show_bug.cgi?id=54628
--- Comment #2 from C. Leu kle@bluewin.ch --- A new addition.
After I found a Linux question about this problem on reddit (https://www.reddit.com/r/linuxquestions/comments/qyxkpf/docx_files_leads_to_...), it looks that this might be in the end an issue of xdg-open and not Wine.
So there exist now also a bug report at xdg-utils GitLab page: https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/216