[Bug 48555] Helm Standalone/VST plugin 32bit version has random content in window, 64bit version works OK

WineHQ Bugzilla wine-bugs at winehq.org
Sat Feb 1 16:27:11 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=48555

Louis Lenders <xerox.xerox2000x at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xerox.xerox2000x at gmail.com

--- Comment #5 from Louis Lenders <xerox.xerox2000x at gmail.com> ---
Hi, it`s me again 

I cannot reproduce this. The 32-bit version shows fine here (no visual
glitches) as well. No workarounds used. 

Maybe someone else could try if he can reproduce this.


Thanks anyway for the link for the source.

It shows they check for wine in 
JUCE/modules/juce_core/native/juce_win32_Threads.cpp 

bool juce_isRunningInWine()
{
    HMODULE ntdll = GetModuleHandleA ("ntdll");
    return ntdll != 0 && GetProcAddress (ntdll, "wine_get_version") != nullptr;
}

but apparently it`s only used 
for replacing some fonts so it won`t break anything and is not cause of this
bug (I guess)

I add some additional here:

Google for juce_isRunningInWine shows  some projects that probably still have
broken codepath (I guess) like , SimpelDJ
(https://github.com/vinniefalco/SimpleDJ)


static UpdateLayeredWinFunc updateLayeredWindow = nullptr;

bool Desktop::canUseSemiTransparentWindows() noexcept
{
    if (updateLayeredWindow == nullptr && ! juce_isRunningInWine())
        updateLayeredWindow = (UpdateLayeredWinFunc) getUser32Function
("UpdateLayeredWindow");

    return updateLayeredWindow != nullptr;
} 


Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list