https://bugs.winehq.org/show_bug.cgi?id=50778
Bug ID: 50778 Summary: TortoiseMerge closes before showing a window Product: Wine Version: 6.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lexlexlex@gmail.com Distribution: ---
Created attachment 69576 --> https://bugs.winehq.org/attachment.cgi?id=69576 Terminal log for TortoiseMerge startup and subsequent closing with wine
Steps to reproduce:
1. Install TortoiseSVN in a 64-bit wine prefix. 2. Try to run TortoiseMerge.exe with the wine prefix mentioned in step 1. For example, run "wine TortoiseMerge.exe" from a terminal if the default wine prefix was used.
Current behavior:
TortoiseMerge closes before showing a window. No TortoiseMerge window appears.
Expected behavior:
TortoiseMerge is expected to start, allowing the user to compare and merge files in a windowed GUI.
Additional information:
A download for the current version of the TortoiseSVN installer as of this report is at https://osdn.net/projects/tortoisesvn/storage/1.14.1/Application/TortoiseSVN...
A log showing terminal output when trying to run "wine TortoiseMerge.exe" is attached.
Opinion:
This is one of 2 bugs preventing using TortoiseSVN fully in wine. The other is 50756. If these 2 bugs are fixed, TortoiseSVN could be used fully, easing the transition of users whose jobs rely on SVN to Linux. Currently some companies still use SVN and I've tried all the free SVN clients for Linux, and none of them come close to the level of convenience and intuitiveness that TortoiseSVN provides. I have nemo actions ready to enable full usage in of TortoiseSVN in Linux if these 2 bugs are fixed. This would help me personally tremendously, as digging through old revisions in alternate SVN branches is part of my job and extremely difficult with any SVN client other than TortoiseSVN using TortoiseMerge. Thanks for reading this.
https://bugs.winehq.org/show_bug.cgi?id=50778
Alex Folland lexlexlex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lexlexlex@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=50778
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |download URL| |https://osdn.net/projects/t | |ortoisesvn/storage/1.14.1/A | |pplication/TortoiseSVN-1.14 | |.1.29085-x64-svn-1.14.1.msi | |/ Ever confirmed|0 |1 CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Confirming
Looks like caused by uiribbon.dll being a complete stub. Stupid hacks below allow me to get a (responding) window up, don`t know if it`s further functional.
Maybe Fabian could have a look at this, to improve the two functions to a kind of semi-stubs to get this app running
Bug is some kind of meta-bug for this: https://bugs.winehq.org/show_bug.cgi?id=43669
sha1sum TortoiseSVN-1.14.1.29085-x64-svn-1.14.1.msi 078c6f91a2b9c4990b753c5e5c48668934e86509 TortoiseSVN-1.14.1.29085-x64-svn-1.14.1.msi
diff --git a/dlls/uiribbon/uiribbon.c b/dlls/uiribbon/uiribbon.c index 18cb4870f9a..a7898d2e40b 100644 --- a/dlls/uiribbon/uiribbon.c +++ b/dlls/uiribbon/uiribbon.c @@ -80,7 +80,7 @@ static HRESULT WINAPI UIRibbonFrameworkImpl_Initialize(IUIFramework *iface, HWND { FIXME("(%p, %p): stub!\n", frameWnd, application);
- return E_NOTIMPL; + return 0; }
static HRESULT WINAPI UIRibbonFrameworkImpl_Destroy(IUIFramework *iface) @@ -94,7 +94,7 @@ static HRESULT WINAPI UIRibbonFrameworkImpl_LoadUI(IUIFramework *iface, HINSTANC { FIXME("(%p, %s): stub!\n", instance, debugstr_w(resourceName));
- return E_NOTIMPL; + return 0; }
static HRESULT WINAPI UIRibbonFrameworkImpl_GetView(IUIFramework *iface, UINT32 viewId, REFIID riid, void **ppv)
https://bugs.winehq.org/show_bug.cgi?id=50778
--- Comment #2 from Alex Folland lexlexlex@gmail.com --- Your comment and Fabian's comment in the bug report you linked pointed me in the right direction for a personal-use workaround.
I have an updated copy of Windows 7 64-bit from which I can use system DLLs. I copied the following DLLs from my Windows drive to ~/.wine/drive_c/windows/system32/ and renamed them to lower-case versions, then set them to be used as overrides in winecfg:
-C:\Windows\System32\UIRibbon.dll -C:\Windows\System32\UIRibbonRes.dll -C:\Windows\System32\uxtheme.dll -C:\Windows\System32\propsys.dll
Once this was done, TortoiseMerge opened in wine without any apparent issues.
This workaround involves using proprietary non-free DLLs, so it's not a permanent solution for everyone, but it works for my personal usage.
https://bugs.winehq.org/show_bug.cgi?id=50778
winetaste@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetaste@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=50778
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Just an additional note:
Tortoise github suggests there are several registry-keys to tweak it ***
....... , m_regUseRibbons(L"Software\TortoiseGitMerge\UseRibbons", TRUE)
....... if (m_bUseRibbons)
Except from relay log i found the regkey is not called TortoiseGitMerge but rather TortoiseMerge:
00f4:Call ucrtbase.wcslen(14009a4e0 L"Software\TortoiseMerge\UseRibbons") ret=00addd8b
So after creating a DWORD "HKCU\Software\TortoiseMerge\UseRibbons" and set it to FALSE the application starts fine.
Maybe it doesn`t look as fancy, but the workaround is I guess easier then using native dlls.
***: (https://gitlab.com/tortoisegit/tortoisegit/blob/915850470bf4cbc530bf25698918...)
https://bugs.winehq.org/show_bug.cgi?id=50778
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |abakumov.alexandr@gmail.com
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- *** Bug 50976 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=50778
winehq.s12ex@silomails.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.s12ex@silomails.com