[QtCreator] Extraneous windows with garbage content when WelcomeTab=1 in QtCreator.ini

Bug #1179920 reported by Florian Boucault
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
[obsolete] Ubuntu QtCreator Plugins
Fix Released
Critical
Juhapekka Piiroinen
qtcreator (Ubuntu)
Fix Released
Undecided
Timo Jyrinki

Bug Description

Since a couple of days ago (probably since week of May 6th), QtCreator starts with a number of extra small windows filled with garbage. The trigger is explained below however it is critical since there is no way to make them go away and they reappear at each startup of QtCreator.

Steps to reproduce:
1. Install QtCreator 2.7.0-0ubuntu4~raring1~test5 from http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/
2. Make sure ~/.config/QtProject does not exist
2. Launch QtCreator
3. Click on 'Qt Welcome' tab (left hand side)
4. Click on 'Develop' tab (right hand side)
5. Quit QtCreator and restart

Result:
Many small windows filled with garbage content are created as shown in the screenshot, and they remain so after Qt Creator restart.

Revision history for this message
Florian Boucault (fboucault) wrote :
Revision history for this message
Florian Boucault (fboucault) wrote :

A workaround is to delete ~/.config/QtProject and never click on the "Develop" tab.

Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit:
status: New → Confirmed
affects: ubuntu-ui-toolkit → ubuntu-qtcreator-plugins
Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

I am unable to reproduce this one.

Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

Ok got it now..

So it is the "Qt Welcome" plugin which has the subtabs, which causes the issue.

Changed in ubuntu-qtcreator-plugins:
status: Confirmed → Triaged
Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

The issue seems to be in ~/.config/QtProject/QtCreator.ini

[General]
WelcomeTab=1

When that is changed to 0 then the windows does not appear.

Revision history for this message
Juhapekka Piiroinen (juhapekka-piiroinen) wrote :

This happens wíth:

$ apt-cache policy libqt5core5
libqt5core5:
  Installed: 5.0.2+dfsg1-3ubuntu1~raring1~test2
  Candidate: 5.0.2+dfsg1-3ubuntu1~raring1~test2
  Version table:
 *** 5.0.2+dfsg1-3ubuntu1~raring1~test2 0
        500 http://ppa.launchpad.net/canonical-qt5-edgers/qt5-proper/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status
     5.0.1+dfsg-0ubuntu4 0
        500 http://fi.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages

$ apt-cache policy qtcreator
qtcreator:
  Installed: 2.7.0-0ubuntu4~raring1~test5
  Candidate: 2.7.0-0ubuntu4~raring1~test5
  Version table:
 *** 2.7.0-0ubuntu4~raring1~test5 0
        500 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ raring/main amd64 Packages
        100 /var/lib/dpkg/status
     2.7.0-0ubuntu3 0
        500 http://fi.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages

Revision history for this message
Tim Peeters (tpeeters) wrote :

I don't observe this bug with libqt5core5 5.0.1+dfsg-0ubuntu4 and qtc 2.7.0-0ubuntu4~raring1~test5.

Removing ~/.config/QtProject/QtCreator.ini makes no difference, still works fine.

Revision history for this message
Zsombor Egri (zsombi) wrote :

I'm in Qt 5.0.1. and the problem does not appear. So it seems Qt 5.0.2. specific.

Changed in ubuntu-qtcreator-plugins:
assignee: Juhapekka Piiroinen (juhapekka-piiroinen) → Timo Jyrinki (timo-jyrinki)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

It seems to happen when WelcomeTab gets set to 1 from 0 in QtConfig.ini of Qt Creator...

So a workaround would be:
sed -i 's/WelcomeTab=1/WelcomeTab=0/' .config/QtProject/QtCreator.ini

I guess we could hard-code that setting somehow until the bug is resolved?

summary: - [QtCreator] Extraneous windows with garbage content
+ [QtCreator] Extraneous windows with garbage content when WelcomeTab=1 in
+ QtCreator.ini
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Found the place in src/plugins/welcome/welcomeplugin.cpp and added a distro patch plus built the new bug fix release Qt Creator 2.7.1 against Qt 5.0.2. One can still trigger the original problem with the 2.7.1 (for reason unknown so far, help browsing related?), but it's away after a restart which was the bigger problem.

That was on a local build, and pushed the same build to ppa:ubuntu-sdk-team/testing - JP (and the rest of the SDK team), please test the whole functionality of the 2.7.1-0ubuntu1~raring1~test2 after it is installable from that PPA so that the new raring Creator can be copied to SDK Release PPA. It has the same Ubuntu plugin version as the latest (custom) SDK PPA release, as can be seen in the changelog.

Changed in ubuntu-qtcreator-plugins:
assignee: Timo Jyrinki (timo-jyrinki) → Juhapekka Piiroinen (juhapekka-piiroinen)
Changed in qtcreator (Ubuntu):
assignee: nobody → Timo Jyrinki (timo-jyrinki)
status: New → Fix Committed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Copied to SDK Release PPA, thanks to JP and others for testing. I opened up a follow-up bug #1181192 to track the remaining issue.

Changed in ubuntu-qtcreator-plugins:
status: Triaged → Fix Released
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator - 2.7.1-0ubuntu1

---------------
qtcreator (2.7.1-0ubuntu1) saucy; urgency=low

  * Add devscripts dependency to qtcreator-plugin-ubuntu (LP: #1170685)
  * New upstream release.
    - Build against Qt 5.0.2 (LP: #1180392)
  * debian/patches/workaround_welcome_plugin.patch:
    - Fixes compatibility issue with Qt 5.0.2 (LP: #1179920)
  * debian/control:
    - Build-depend on libqt5help5
    - Add needed new dependencies to Ubuntu plugin
  * debian/patches/qtcreator-plugin-ubuntu.patch:
    - Fix unreliable DEB info access bug (LP: #1170692)
    - add the html folder to the project in HTML5 template
    - change the hybrid application template to a QML backend plugin template
    - support source packages with multiply binary packages
    - Time settings cloning from host
    - Enhanced device detection
    - Improved ssh authentication (LP: #1171063)
    - Disable menu items not usable for a specific project
    - Enable orientation support in templates
    - More descriptive text than "please wait..." when enableing development
      mode (LP: #1169830)
    - fix automatic ssh connection failure (LP: #1171063)
    - Added menu items for "make check" and "make autopilot"
    - Make Qt Creator plugins compatible with flipped device image.
    - Cordova plugin merged
    - Cordova HTML5 application template added
    - Unity Scope template for Saucy
    - The Ubuntu specific screen is refactored
    - Ubuntu Project Manager and Ubuntu Run Control extensions
    - New project type .ubuntuproject
    - Support for release specific feature control to application templates
      json file.
    - Backend template automatic configuration
    - Added support for upercase/lowercase/capital DISPLAYNAME for
      application templates.
    - Improved backend template, changed structure and added an unit test
    - QtC source code is put to the source tree
    - Added check to application template for autopilot installation
    - Integrate tests inside the application templates (LP: #1172241)
    - When searching in the dash, 'Ubuntu SDK' should find Qt Creator
      (LP: #1180192)
    - Qt Creator should be renamed 'Ubuntu SDK' (LP: #1180193)
    - Remove duplicate Welcome view (LP: #1180195)
    - Missing example QML code for using the "QML Extension Library"
      (LP: #1181125)
    - Remove qt5libs package generation (LP: #1186220)
    - Separate Ubuntu plugin from QtCreator sources (LP: #1186230)
    - Have the UI Toolkit gallery launchable from Qt Creator (LP: #1186996)
    - All edited files should be saved when Run on device is selected
      (LP: #1169831)
    - Application debug output from device is not realtime (LP: #1194099)
    - Device-search script does not handle "no permissions" (LP: #1194107)
    - The active project is deployed (LP: #1169832)
    - Revert changes in qtcreator.desktop
    - Updated HTML5 Touch UI template.
    - CordovaQt renamed to cordovaqt-2.3
  * debian/source/include-binaries:
    - Add ubuntu-qtcreator.png
  * Build with g++-4.7 on armhf to prevent FTBFS
 -- Timo Jyrinki <email address hidden> Mon, 08 Jul 2013 12:48:04 +0300

Changed in qtcreator (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.