News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Splash screen problem

Started by gd_on, April 28, 2018, 04:40:57 PM

Previous topic - Next topic

gd_on

Due to a recent C::B patch (but I don't remember which one), I observe a problem with splash screen : it is always on the foreground so it can masks other windows. Example, if I delete my defaut.conf then restart C::B, the window to choose a defaut compiler is partially masqued. You need to move it, to make your compiler choice.

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

oBFusCATed

Can you clarify which commit you think it broke it?
Have you tried to click on the splash screen it should go away?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

gd_on

#2
Quote
Can you clarify which commit you think it broke it?

May be svn 11318, but that's not sure. Just a supposition.

QuoteHave you tried to click on the splash screen it should go away?

It does not ! (at least on the example shown before)

I tried with C::B generated in 32 or 64 bits, wxwidgets 2.8.12 or 3.0.3 : same problem. I'm on Windows 7.

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

stahta01

#3
Quote from: gd_on on April 28, 2018, 04:40:57 PM
Due to a recent C::B patch (but I don't remember which one), I observe a problem with splash screen : it is always on the foreground so it can masks other windows. Example, if I delete my defaut.conf then restart C::B, the window to choose a defaut compiler is partially masqued. You need to move it, to make your compiler choice.

gd_on

Are you using Windows 10; I ask because I assumed the Windows 10 monthly update caused the problem.

Edit: Add my Win 10 Version info
Windows 10 Pro (32 bit)
Version 1709 (OS Build 16299.371)


Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

oBFusCATed

Quote from: gd_on on April 28, 2018, 05:33:26 PM
May be svn 11318, but that's not sure. Just a supposition.
Can you try to revert this commit to see if this is causing the problem?
I'm running linux, so I cannot easily tests this. :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

gd_on

I tried to revert to svn 11317. It's OK, no such splash screen masking problem.
Then to svn 11318 : the problem appears.

As told before, I'm on Windows 7 64 bits.
My signature tells Win10, but it's not the case on this specific PC (I had to revert because of compatibility problems with win10 build 1703 !). :-[

gd_on

Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard


BlueHazzard

Ok i can reproduce it and this is annoying because the splashscreen can not be minimized. It hides all programs not only the codeblocks frame...
Easy and fast fix:
remove the wxSTAY_ON_TOP  flag in src/splashscreen.cpp:25

cbSplashScreen::cbSplashScreen(const wxBitmap& bitmap)
  : wxSplashScreen(bitmap, wxSPLASH_CENTRE_ON_SCREEN | wxSPLASH_NO_TIMEOUT,
                   0, nullptr, wxID_ANY, wxDefaultPosition, wxDefaultSize,
-                  wxBORDER_NONE | wxFRAME_NO_TASKBAR | wxFRAME_SHAPED | wxSTAY_ON_TOP  )
+                  wxBORDER_NONE | wxFRAME_NO_TASKBAR | wxFRAME_SHAPED)
{
}


or add a timeout...

Miguel Gimenez

#9
Please create a ticket with the patch, as this thread will be history soon.

Edit: ticket not needed, corrected in SVN three hours ago


gd_on

It looks OK now.
Thanks all :)

gd_on
Windows 11 64 bits (25H2), svn C::B (last version or almost!), wxWidgets 3.3.2, Msys2 Compilers 16.1.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).