You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An even further look into XWindowSystem::isMinimised() shows that it's just a wrapper for XWindowSystem::isHidden().
This means that isShowing() returns true if the window is hidden and return false if the window is showing!
This is causing numerous issues, from Projucer and AudioPluginHost barely working and frequently crashing in 8.0.2 to plugin builds not being able to grab window focus or close out of with the JUCE titlebar's close button.
Detailed steps on how to reproduce the bug
The new
isShowing()
function that was added to juce_Windowing_linux.cpp in 8.0.2 is incorrect. Currently, it'sAn even further look into
XWindowSystem::isMinimised()
shows that it's just a wrapper forXWindowSystem::isHidden()
.This means that
isShowing()
returns true if the window is hidden and return false if the window is showing!This is causing numerous issues, from Projucer and AudioPluginHost barely working and frequently crashing in 8.0.2 to plugin builds not being able to grab window focus or close out of with the JUCE titlebar's close button.
Simple solution is to just change it to
This at least fixes a good chunk of the bugs that 8.0.2 has bestowed upon Linux builds
What is the expected behaviour?
isShowing()
should return true when window is showing and return false when window is not showingOperating systems
Linux
What versions of the operating systems?
Ubuntu 24.04.1 LTS/GNOME 46.0
Architectures
64-bit
Stacktrace
No response
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
No response
Testing on the
develop
branchThe bug is present on the
develop
branchCode of Conduct
The text was updated successfully, but these errors were encountered: