Qt Designer freeze (lockup) when selecting "Choose Resource..." - windows

Problem
Qt Designer is locking up when selecting a image from Resource, stops responding, just
makes Windows bing sound.
Does anyone know what might be causing this problem with Qt Designer, or a decent work-around?
I've only tried Label.pixmap and PushButton.icon so far.
Every time I select this option the entire Designer locks up. It seems like it's trying to display a modal selection dialog box, but I can't see it anywhere.
"Choose File..." option works fine but isn't a convenient option.
I have had Designer working properly in the past.
My project was paused for a couple of months, during this time I lost my Qt build due a complete HDD failure, and have restored from a zip-backup I'd made. I can still build against Qt libs.
Since then hasn't worked.
I also built for Linux and the same .ui files can be editing properly with Ubuntu 10.10.
Environment
Qt v4.7.1
VS2008 SP1, I built my own build of Qt
VS addin (same symptoms for v1.1.7 and v1.1.9)
Win7-x64 Pro
Tried (without success):
rebuilding Qt from source
manually editing .ui file as suggested here: http://discussion.forum.nokia.com/forum/…crashes-Creator
running Designer from installed folder
watched designer.exe in procmon (seems to be doing a lot registry lookups for HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\Interfaces, but nothing that looks significant)
This is really hurting me, help very much appreciated.

The 'lockup' was caused by Designer opening a modal resource dialog. However, since last using Designer, I had moved my second screen to the other side of my primary screen, the modal dialog was open in the old screen (no longer connected) so I couldn't see it.
Resolution: Windows-key + Left-key moved the missing dialog back onto a connected screen.

Related

Qt Creator's interface AND my Qt app's interface shows gargantuan fonts in toolbars - how to resolve?

Intermittently, while programming using Qt Creator, the Qt Creator interface appears with garantuan, unusably huge fonts for the text in toolbars and other elements.
I am attaching a screenshot.
This issue only happens intermittently, but I cannot find any hint of this problem when searching via Google, and I cannot understand why it is happening or what to do about it.
I am using a high-resolution monitor (4K, 2160 x 3840) with Windows 10; the Windows setting for "Change the size of text, apps, and other items" is set to 100% in the Settings - and I have not noticed any other applications with this problem (except perhaps once or twice in the past and I think the application must have been built with Qt - but I do not remember).
How do I resolve the issue of Qt Creator displaying gargantuan fonts in various elements of its user interface?
Edit: The issue is even more severe than I thought. Now, the application I am building in Qt has the same problem. Here is a screenshot:
What is going on here? Obviously, although the problem is intermittent for me, I am concerned that my client might suddenly have the problem appear.
I do not think the solution is for me to set the font size for my widgets with a stylesheet. Usually, this problem does not occur, and I am think this is a bug with Qt - not with my code.
What can I do to prevent this?

blank window when installing visual studio on windows 10

I have a Windows 10 64-bit PC (fresh install, not an upgrade).
When I run the setup file (web or offline alike) in order to install Visual Studio (2013 or 2015, Community edition), all I get is a small black rectangle on the screen (which I later found out that this is actually the title of the setup popup window), without the actual window of the installation.
I have tried it also after a reboot, and with various "versions" of the installation files (web, iso, standalone), but it's always the same situation.
What can I do about it? VS is my main development tool and I really need it on this computer as soon as possible.
Similar problem here. Program install ok but display blank screen after launched.
Problem solved when I changed my Nvidia graphics's global 3D setting to integrated graphics.
Right click desktop
Select Nvidia Control Panel
Select Manage 3D Settings
Under preferred graphics processor, select integrated graphics.
Apply.
If you are using a laptop with an external monitor, try unplugging it and using your primary monitor to launch. This worked for me. Laptops often have dual graphics cards and I believe we're hitting some issue with the way the Installer for VS was written (likely WPF)
Once I launced it and started the installation, I could safely plug my monitor in and it kept working properly.
I'm using an AMD GPU, It was a blank white screen but when I hover the mouse over it, I can see the text events
By the way
I went to my AMD Radeon Settings and saw that vs_installershell.exe and vs_setup_bootstrapper.exe were added automatically to the Switchable Graphics list
they were with Not Assigned Option which usually is like High Performace Option
means It would run it with my ATI GPU.
So I clicked on them
Selected Power Saving Option (to work with my Intel GPU)
Which worked and I can see the window of visual studio installer back
after restarting visual studio installer for sure.
whether is your graphics card, just turn on power saving for it.
Had the same issue. Since this topic is not accept any answare, there is one from https://developercommunity.visualstudio.com/content/problem/150888/visual-studio-installer-shows-blank-screen.html
Try to open installer as Admin.
You will probably have blank screen. Do not close it!
Open installer once more.
Hope it help other people with same issue.
the same thing happened to me, i didn't do anything i just waited for it and it started showing it's status, i suggest you close other running programs to avoid conflicts and performance hindering, and try it again.
This seems like a very shoddy issue. I've run into this problem too, and I tested all solutions that I came across online. These all work:
Running the installer as administrator, which is a blank screen. Leave it open and run a second instance of the installer, which will not be blank (doesn't need to be run as administrator the second time.
Changing screen settings so that the laptop screen is not being used.
Downloading the AMD Settings application, and setting vs_installershell.exe to run on powersaving mode. Restart the installer after saving the settings.
Use a default graphics driver instead of the AMD one.
I had the the same problem in my laptop. The temporary solution is: start the installer only without the battery, if installer starts you can connect the cable, it works fine.
I had to run integrated graphics rather than my Nvdia. That solved it for me.
Remember to change it back when programming in OpenGL and DirectX otherwise you may get a list of messages staying that nothing works.
I had the the same problem in my laptop. The work around is, in device management, remove the amd graphics or start the installer only with battery.

Trying to install Visual Studio 2015 community edition but install window becomes invisible

This issue is driving me crazy. I'm on a corporately controlled network but have local administrator rights. This issue is happening with all versions of Visual Studio installer where you initiate the install, then you see the initial splash screen and then that vanishes and it looks like nothing is there. But if you click and drag that area you can see the window borders during the drag. Some portions of the invisible window even respond to mouse clicks. There's even a task bar indication that is blank when you hover over it. I can't even update the current 2013 installation to SP5 because even that window behaves the same way.
However, it just totally hangs the install and since I can't see the install options I don't know if there's a failure or it's just waiting on me to do something.
I've seen several posts about this outside of here but all of them lead to a dead-end.
I have installed Studio on this machine before - actually all versions since 2005 and never have seen this issue until it started about 2 months ago. I did updates galore and all that. Updated my video drivers, blah, blah, blah. I've even tried remoting into this this box and seeing if that would alter the display enough to see what is going on...all to no avail.
The box is beefy (i5, 16GB, 500GB SSD...triple display, etc...) so it more than meets the requirements.
When I try to install any version of Visual Studio, the install window briefly appears and then disappears. However, it is still there, just 100% transparent. Has anyone else seen this before?
I was able to finally find an answer to the invisible install dialog question, it is however not an adequate solution, but an answer. I have to run only one monitor then the install dialog is visible and things proceed normally.
My solution was to disable the graphics card I have on my computer and run on onboard graphics card. It seems that the issue is with the graphics, so forcing the system to use the "regular" graphics card did the trick.
I have to use /Full /Passive from the command line to install on a build server. I would prefer less flashy installer for a more robust one. I am sure its a combination of the graphics card etc. But other installers work.

Corruption of menus in Windows app

I'm the author of a Windows application that's been around for years. The app uses the wxWidgets UI library. For the newest version, we upgraded to the Microsoft c++ compiler in Studio 10 and to the latest Windows SDK library. We did not change much else in the app. Now, several users have reported that after a period of time running the app, the menus go crazy. All of the users reporting the problem are running on Windows XP. The menus either get huge, filling the screen, and have a giant italic font with strikethroughs. Or they get really small, so that the only thing shown are up and down arrows, suggesting the rendering code thinks the screen real estate is too small to display anything else.
You can find example screen shots here:
Once the menus go crazy, all menus are affected, except the standard Windows and MDI menus. The only way to recover is to restart the app.
The code in the app and wxWidgits is a thin layer on top of the standard Windows API. Once the menus are created, afaik Windows manages the rendering.
Any ideas what's going wrong?

Flash CS6 not displaying AS3 projects (OS X)

Flash CS6 won't display any AS3 projects while debugging anymore. When compiling for debugging it turns up white in the default "debug window" inside of Flash. If I right-click in the debugger window it says "Movie not loaded". No compiler errors are shown. The resulting swf file only runs if opened with the Flash Player from Finder.
This applies for all projects that I know have been working fine up until now. I've also tested to create a new, blank FLA on which I only draw a rectangle with the same result.
If, however, I select a Flash Player version prior to 10 (falling back to AS2) as the target for the test file containing only a rectangle, it does compile and show up fine.
I've uninstalled Flash and Flash Builder (and deleting any trace of the applications in the Library folders) and then reinstalled it multiple times without any result. I've also tried to uninstall Flash Player and Flash Player Debugger to no avail. For this I'm following the advice on Adobe's site and are using their Flash Player uninstaller applications, but it doesn't seem to uninstall all instances of the Players...
I believe the problem lies in the version of Flash Player Debugger that Flash uses internally to display the swf when debugging and it seems to somehow persist between re-installations. Is there a sure-shot way to reset this entirely?
Has anybody encountered this problem before?
I finally found the problem myself. It seems like the Chrome extension called FlashFirebug randomly causes these issues. When I deactivated the extension Flash started working properly again.

Resources