7.10: Qt3 /etc/qt3/qtrc owner root result in ugly appearance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| qt-x11-free (Ubuntu) |
Undecided
|
Jonathan Riddell | ||
| Gutsy |
Undecided
|
Unassigned |
Bug Description
--Changed by Saïvann--
/etc/qt3 folder is missing or empty with very low permissions ( drwxr----- 2 root root ).
Because the /etc/qt3/qtrc file doesn't exist or cannot be accessed because of the low permissions of the /etc/qt3 folder, all qt3 programs have HUGE fonts and become near to unusable.
This problem is caused by the absence of the "/etc" value in the debian/
A quick workaround to fix that problem is to create the /etc/qt3 folder and create the file "qtrc" into that folder. qtrc file should contain this:
[3.3]
libraryPath=
[General]
GUIEffects=
embedFonts=true
enableXft=true
font=Sans Serif,9,
fontPath=\0
useXft=true
style=Plastik
[KDE]
contrast=7
kdeAddedLibrary
[KWinPalette]
activeBackgroun
activeBlend=#259bb8
activeForegroun
activeTitleBtnB
frame=#efefef
inactiveBackgro
inactiveBlend=
inactiveForegro
inactiveFrame=
inactiveTitleBt
[Palette]
active=
disabled=
inactive=
Savvas Radevic (medigeek) wrote : | #1 |
Saivann Carignan (oxmosys) wrote : | #2 |
Savvas Radevic (medigeek) wrote : | #3 |
you know the package name? libqt3-mt ?
Björn (bjoernw) wrote : | #4 |
yes, propably it's libqt3-mt since in feisty this package defined a global qt3-theme like medigeeks in /etc/qt3/qtrc . but in gutsy its missing.
Savvas Radevic (medigeek) wrote : | #5 |
correct, I just checked it in the packages files
http://
http://
whereas qtrc isn't mentioned for the gutsy packages:
http://
http://
Savvas Radevic (medigeek) wrote : | #6 |
just checked the differences between libqt3-mt in feisty (7.04) and gutsy (7.10), qtrc is missing in the latter
Saivann Carignan (oxmosys) wrote : Re: 7.10: Qt3 ~/.qt owner root and missing qtrc result result in ugly appearance | #7 |
I found the problem!
There's two reasons why this problem happens :
#1 : The /etc/qt3 folder has very low permissions which refuses anyone else than root to access or list the files
In Gutsy : drwxr----- 2 root root
In Feisty : drwxr-xr-x 2 root root
#2 : The config file /etc/qt3/qtrc doesn't exist.
It isn't created during the installation process of the libqt3-mt package. for a unknown reason, the /etc entry has been removed from the debian/
I attached a Debdiff which fixes this problem.
Saivann Carignan (oxmosys) wrote : | #8 |
If you want to test this, please purge the libqt3-mt package and remove the /etc/qt3 folder before installing the package :
sudo aptitude purge libqt3-mt
sudo rm /etc/qt3
The binary package is attached.
Changed in qt-x11-free: | |
status: | Confirmed → In Progress |
Saivann Carignan (oxmosys) wrote : | #9 |
Here's a Debdiff between the Feisty and the Gutsy source package.
unggnu (unggnu) wrote : | #10 |
I can confirm this with hp-setup of hplip package. It makes hp-setup unusable for newbies since the buttons are not accessible.
Savvas Radevic (medigeek) wrote : | #11 |
I have an amd64, can you provide me with the amd64 version? or give me some more info on how to use the patch to test it?
Savvas Radevic (medigeek) wrote : | #12 |
Savvas Radevic (medigeek) wrote : | #13 |
ah wait, sorry, it's an older version, will be waiting for a deb package to test it out on amd64 :)
Saivann Carignan (oxmosys) wrote : | #14 |
medigeek : I provided a patch for the source package. Do you want to know the steps to apply that patch and build this package on your amd64 architecture? (It's not a very easy process, you'll need patience)
Jonathan Riddell (jr) wrote : | #15 |
That debdiff has a lot of changes in it, presumably more than was intended.
I think the real culprit here is kdesudo (used as kdesu in gutsy), which should probably set $HOME to not overwrite files.
Saivann Carignan (oxmosys) wrote : | #16 |
Jonathan Riddell : You took the wrong debdiff, take the first one ( debdiff.diff ), the other one is the debdiff between the feisty package and the actual Gutsy package.
Savvas Radevic (medigeek) wrote : | #17 |
Saïvann Carignan: I'd prefer if you had a ready-made deb package for me to use, easier for my fingers, if it's no problem that is :)
Saivann Carignan (oxmosys) wrote : | #18 |
medigeek : Sorry, I would need a amd64 computer :) . But I emailed Jonathan Riddell which is the last person who worked on that package, once he will get the good debdiff, I think that this will be fixed quickly.
Same problem on i386 and am64:
Qt 3 default appearance is horrible, but if you upgrade feisty to Gutsy, this bug don't appear.
Hurry up !! please close this bug before The stable release !!!
Savvas Radevic (medigeek) wrote : | #20 |
I think it'll make it :) we're waiting for the kubuntu dev to state his opinion
Jonathan Riddell (jr) wrote : | #21 |
Uploaded patch from comment 7, thanks for the fix.
Changed in qt-x11-free: | |
status: | In Progress → Fix Released |
Changed in qt-x11-free: | |
status: | Fix Released → Fix Committed |
Saivann Carignan (oxmosys) wrote : | #22 |
this patch is very important and must be released with the Gutsy final or the final release will get wrong folder permissions! the patch has been uploaded since 4 days by Jonathan Riddell and is still not in the repositories.
Savvas Radevic (medigeek) wrote : | #23 |
it didn't even reach the binary packages:
https:/
https:/
I'll see if I can find someone to "push" it.
Saivann Carignan (oxmosys) wrote : | #24 |
The patch has been rejected for final release and they took the decision to upload the patch as an update for Gutsy. I must speak with Riddell and slangasek about this choice.
Savvas Radevic (medigeek) wrote : | #25 |
If it will be an update, no problem from me, but I'd hate to see users complain about the "old school" appearance of some widely applications, like virtualbox and hp
This problem is not only an appearance problem ...
In virtualbox for example but it is right for all the QT3 programs, you can't view what tab is in the foreground ...
this bug cause a problem for some people that don't see well or in the screen with bad contrast ...
Saivann Carignan (oxmosys) wrote : | #27 |
The patch has been uploaded too late in the Gutsy development phase so it will be released as a update after the Final Gutsy Release. This will also give a chance to add a fix for the low permissions problem of the /etc/qt3 folder.
Jonathan Riddell takes care of this.
Jonathan Riddell (jr) wrote : | #28 |
Saivann Carignan (oxmosys) wrote : | #29 |
Because the package hasn't been updated for Gutsy Final Release, something need to be done around the low permissions of the /etc/qt3 folder ( this folder will not have right permissions in the final release ).
I updated the debdiff to create a postint file which will change the permissions of the /etc/qt3 folder during the installation of the package. It's the only solution I can see to fix that problem.
hasan (hassanidin) wrote : | #30 |
I just upgraded to Gutsy, and added Virtualbox from
deb http://
and the user interface still looks really ugly.
If the fix is committed to the repositories?
Saivann Carignan (oxmosys) wrote : | #31 |
Yes it has been committed. The maintainer of the package is Jonathan Riddell. The patch as been released too late in the Gutsy development cycle so it will be released as a update for Gutsy Final Release.
Saivann Carignan (oxmosys) wrote : | #32 |
the debdiff that I attached 3 comments ago is just necessary for people who installed Gutsy Alpha / Beta. I attached it in the case that it could be needed.
The debdiff used by Jonathan Riddell will work for Gutsy Final Release.
description: | updated |
Martin Pitt (pitti) wrote : | #33 |
I rejected the upload from gutsy-proposed. To make any sense, this also needs transitional code to fix existing installations (from beta or final). Everyone who installs Kubuntu final will have such a broken directory already.
Changed in qt-x11-free: | |
assignee: | nobody → jr |
status: | Fix Committed → In Progress |
Saivann Carignan (oxmosys) wrote : | #34 |
that's why I suggest that patch which will fix everything for everyone ( fix the bad folder permission problem and fix the absence of /etc/qt3/qtrc files )
Saivann Carignan (oxmosys) wrote : | #35 |
I worked with Martin Pitt to finish the work that I've done and here's the result patch.
It has been tested by me and works flawlessly.
Martin Pitt (pitti) wrote : | #36 |
Confirmed, thanks Saivann! Jonathan, please upload to gutsy-proposed.
Jonathan Riddell (jr) wrote : | #37 |
Uploaded
Changed in qt-x11-free: | |
status: | In Progress → Fix Committed |
Jonathan Riddell (jr) wrote : | #38 |
Uploaded as 3.3.8really3.
Saivann Carignan (oxmosys) wrote : | #39 |
I still don't seem it in the repositories, is it all Ok?
Martin Pitt (pitti) wrote : | #40 |
Accepted into gutsy-proposed.
Changed in qt-x11-free: | |
status: | New → Fix Committed |
Matt Austin (mattaustin) wrote : | #41 |
I still can't find this package in gutsy-proposed as an update? Is it available?
Apologies if this is a stupid question.
Conrad Knauer (atheoi) wrote : | #42 |
Matt Austin: I was a little confused too; the 11.1 package version Jonathan Riddell spoke of appears to be source code only for now.
Note the files:
qt-x11-
qt-x11-
in http://
I'm guessing that its just a matter of time before they're built into binaries; qt-x11-free appears to be the source package that produces binary packages
libqt3-mt-psql, libqt3-i18n, libqt3-headers, qt3-doc, libqt3-mt, qt3-designer, qt3-dev-
as per http://
Someone please correct me if I'm mistaken however :)
Martin Pitt (pitti) wrote : | #43 |
Sorry, the buildds are hogged due to the thousands of new packages in Hardy. I bumped the build priority of this update now, it should be available in a few hours.
Saivann Carignan (oxmosys) wrote : | #44 |
Updated today! It works, thanks to everybody who spent time on this!
Changed in qt-x11-free: | |
status: | Fix Committed → Fix Released |
status: | Fix Committed → Fix Released |
Daniel Hahler (blueyed) wrote : | #45 |
Back to "Fix Committed": it's only in -proposed yet and needs verification (see https:/
Changed in qt-x11-free: | |
status: | Fix Released → Fix Committed |
Matt Austin (mattaustin) wrote : | #46 |
I have also successfully applied the update. Thanks to all those who resolved this.
Conrad Knauer (atheoi) wrote : | #47 |
I too downloaded the gutsy-proposed version and it works great! (I deleted ~/.qt first, just to be sure that it would work)
Screenshot of a beautiful Virtualbox-OSE attached!
Brian Murray (brian-murray) wrote : | #48 |
I have installed libqt3-mt version 3:3.3.8really3.
Martin Pitt (pitti) wrote : | #49 |
Copied to gutsy-updates.
Changed in qt-x11-free: | |
status: | Fix Committed → Fix Released |
Apostolos Giokas (t-giokas) wrote : | #50 |
As soon as I update to version 3:3.3.8really3.
all my kde applications were unable to start.
There were no symbolic links to the /usr/lib/
I didn't work when I created them myself
/usr/lib/
I had to downgrade again.
Conrad Knauer (atheoi) wrote : | #51 |
Apostolos Giokas: That's odd; Kbounce and K3b still work find on Ubuntu for me.
Also, it might be that you couldn't create a link to "ibqt-mt.so.3.3.8" because the package installs /usr/lib/
As per Synaptic, the 11.1 version installs the following files in /usr/lib/
libqt-mt.so.3.3.7
libqui.so.1.0.0
libqt-mt.so.3
libqt-mt.so.3.3
libqui.so.1.0
libqui.so.1
So I don't know what happened on your system. Check to make sure the disk isn't full and try reinstalling libqt3-mt and see if that works.
Apostolos Giokas (t-giokas) wrote : | #52 |
I made
sudo apt-get clean and updated again
It worked this time. I really don't know what happened.
Thanks.
I confirm the existence of that bug. More people experienced the same problems in the duplicate bug #119990.
Fonts are big and ugly in HPLIP and VirtualBox, running Ubuntu Gutsy with all updates.