Bug 73672 - kdevelop looks veird after previewing forms in KUIViewer
Summary: kdevelop looks veird after previewing forms in KUIViewer
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 76243 76655 76824 76826 76827 77024 84246 107459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-28 12:49 UTC by jarlgjessing
Modified: 2005-06-24 16:57 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
A snapshot (139.27 KB, image/png)
2004-01-28 12:50 UTC, jarlgjessing
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jarlgjessing 2004-01-28 12:49:22 UTC
Version:           3.0.0 (using KDE 3.2.90 (CVS >= 20040117), compiled sources)
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-166-default

As soon as widgetStyle=Check is inserted into the kdeveloprc file, kdevelop is totally messed up, see screenshot..
The argument is added to the file under [General] as soon as I click on a .ui file and KDevelop previews the file.
I have grep'ed the source of kdevelop but I cannot find any lines containing the widgetStyle=Checked, so I cannot pinpoint it more preciselly than this.
Oh yeah... and completely off topic.. is it not possible to tell kdevelop to open UI's with QT designer as default?
I will attach an image showing how kdevelop looks
Comment 1 jarlgjessing 2004-01-28 12:50:22 UTC
Created attachment 4390 [details]
A snapshot
Comment 2 Jens Dagerbo 2004-01-28 14:38:50 UTC
Wow. That's bad!

The widgetstyle setting is part of the kuiviewer part. Somehow it enforces its widgetstyle setting on the hosting app. I'm not sure if kdevelop or kuiviewer is to blame here..

workaround: stay away from the "checked" setting.. ;)
Comment 3 jarlgjessing 2004-01-28 14:45:17 UTC
Nice workaround :-)
Except... If I just leftclick on a UI!! (Could accidentially do that by mistake) then it happens.
Then I have to close KDevelop, remove the UI from the opened files configuration entry and remove the checked option.
This is why I asked if it was possible to make KDevelop use QT Designer by default, so I dont have to be aware of leftclicking!?
Comment 4 Alexander Dymo 2004-01-28 15:57:23 UTC
Perhaps you might need to edit x-designer mime type association in KDE control center and raise the priority of QtDesigner.
Comment 5 jarlgjessing 2004-02-14 10:43:48 UTC
Comment #4, does not help that much. Designer comes higer, but not at the top :-(
Of course I tried this at once, but thanks anyhow!!
I have now doenloaded the SUSE RPMS's and installed them, same result!
I have also tried compiling from scratch, same result!

It actually renderes kdevelop pretty difficult to use because when I create a new UI, and exits KDevelop, it automatically loads the dialog..
It's strange if I'm the only one seing this error!?
Comment 6 Jens Dagerbo 2004-02-14 12:07:18 UTC
This should be fixed in both HEAD and KDE_3_2_BRANCH now. 

To get away from this:
Close KDevelop. Open your kdeveloprc file (typically: ~/.kde/share/config/kdeveloprc) and remove "Style=Checked" from it. Restart KDevelop. 

As for why we load KUIViewer instead of Qt-Designer: that's a bug in KDevelop. 
Comment 7 jarlgjessing 2004-02-14 12:47:49 UTC
Yes I know I need to remove the line, it was me that initially mentioned this :-)
But thanks its great to hear it should be gone now and that the KUIViewer was a bug and not me.
Thanks
Comment 8 Jens Dagerbo 2004-02-27 12:12:45 UTC
*** Bug 76243 has been marked as a duplicate of this bug. ***
Comment 9 Steven T. Hatton 2004-02-27 13:08:33 UTC
I'm confused.  I encountered this from the build of a 27 Feb 04 CVS update, but the problem is marked as resolved on 14 Feb 04.  Am I missing something here?
Comment 10 Jens Dagerbo 2004-02-27 13:20:05 UTC
>Am I missing something here?

Maybe. The bug is in kdesdk/kuiviewer. Is that what you updated from CVS?
Comment 11 Maksim Orlovich 2004-03-05 15:05:40 UTC
*** Bug 76827 has been marked as a duplicate of this bug. ***
Comment 12 Jens Dagerbo 2004-03-05 17:51:06 UTC
*** Bug 76824 has been marked as a duplicate of this bug. ***
Comment 13 Jens Dagerbo 2004-03-05 17:53:30 UTC
*** Bug 76826 has been marked as a duplicate of this bug. ***
Comment 14 Jens Dagerbo 2004-03-08 23:32:16 UTC
*** Bug 77024 has been marked as a duplicate of this bug. ***
Comment 15 Jens Dagerbo 2004-03-22 21:20:24 UTC
*** Bug 76655 has been marked as a duplicate of this bug. ***
Comment 16 Maksim Orlovich 2004-06-30 14:59:27 UTC
*** Bug 84246 has been marked as a duplicate of this bug. ***
Comment 17 Amilcar do Carmo Lucas 2005-06-15 15:30:31 UTC
*** Bug 107459 has been marked as a duplicate of this bug. ***
Comment 18 Nagy Florin 2005-06-15 16:31:15 UTC
My kdeveloprc onl contains:

[$Version]
update_info=kdev-gen-settings.upd:kdev-gen-settings-update/5

[AppWizard]
FavNames=
FavTemplates=

[Diff]
Highlight=true

[Documentation]
LastPage=0

[General Options]
Last Project=

[Mainwindow Toolbar KMdiTaskBar]
Hidden=true
IconText=IconOnly
Index=4
Offset=-1

[Mainwindow Toolbar browserToolBar]
Index=1

[Mainwindow Toolbar buildToolBar]
IconText=IconOnly
Index=2

[Mainwindow Toolbar extraToolBar]
IconText=IconOnly
Index=3


[RecentFiles]
File1=$HOME/kdetest4/src/kdetest4.cpp

[TipOfDay]
TipLastShown=2005,6,15,16,42,48

[ToolDockPosition]
KDevFileCreate=DockLeft
app output widget=DockBottom
documentation widget=DockRight
filelist widget=DockLeft
fileselectorwidget=DockLeft
grepview widget=DockBottom
konsole widget=DockBottom
make widget=DockBottom
replace widget=DockBottom
snippet widget=DockRight
unnamed=DockBottom
valgrind widget=DockBottom

my kdesdk is 3.4.0

Comment 19 Amilcar do Carmo Lucas 2005-06-24 16:55:16 UTC
Try deleting your kdeveloprc file
Comment 20 Nagy Florin 2005-06-24 16:57:24 UTC
It doesn't work I allready tried it.