This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KMM2 v.1 can't change the windows width

Tags: None
(comma "," separated)
maksvlad
Registered Member
Posts
7
Karma
0
OS
I compelled kmm2 ver. 1.0.0. When I ran the application on may eeepc 1000 H (screen res. 1024*600) the width of window was set up to 1155 px. And I couldn't change one in anyway :(. I've tried to change font size, but no effect I got.
How I can change the width of KMM2 window.
P.S.
I ran KMM2 under gnome environment. KMM2 0.9.3 worked fine.

P.P.S

I've tried uder KDE4.3 and result is equal
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
I can shrink it a lot more than that, and the changes from 0.9.3 do not affect the screen width.

Can you try and compile from CVS?


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
maksvlad
Registered Member
Posts
7
Karma
0
OS
I've tried to compile from cvs
It failed with errors:"
kmymoneyreportconfigtab2decl.cpp: In constructor ‘kMyMoneyReportConfigTab2Decl::kMyMoneyReportConfigTab2Decl(QWidget*, const char*, uint)’:
kmymoneyreportconfigtab2decl.cpp:62: ошибка: invalid use of incomplete type ‘struct KMyMoneyGeneralCombo’
kmymoneyreportconfigtab2decl.h:23: ошибка: forward declaration of ‘struct KMyMoneyGeneralCombo’
kmymoneyreportconfigtab2decl.cpp:63: ошибка: нет подходящей функции для вызова ‘QHBoxLayout::addWidget(KMyMoneyGeneralCombo*&)’
/opt/qt/include/qlayout.h:386: замечание: претенденты: void QBoxLayout::addWidget(QWidget*, int, int)
make[5]: *** [kmymoneyreportconfigtab2decl.o] Ошибка 1
make[5]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2/widgets'
make[4]: *** [all] Ошибка 2
make[4]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2/widgets'
make[3]: *** [all-recursive] Ошибка 1
make[3]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2'
make[2]: *** [all] Ошибка 2
make[2]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/mvk/kmymoney2/kmymoney2'
make: *** [all] Ошибка 2
"
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
are you sure you have the full kdelibs devel package for KDE3?

Can you display the message in English? Just to get an idea of what it is complaining about.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
maksvlad
Registered Member
Posts
7
Karma
0
OS
Yes, I installed all dev libraries. Stable version compiled without any errors.
In English error message would be like this
kmymoneyreportconfigtab2decl.cpp: In constructor ‘kMyMoneyReportConfigTab2Decl::kMyMoneyReportConfigTab2Decl(QWidget*, const char*, uint)’:
kmymoneyreportconfigtab2decl.cpp:62: error: invalid use of incomplete type ‘struct KMyMoneyGeneralCombo’
kmymoneyreportconfigtab2decl.h:23: error: forward declaration of ‘struct KMyMoneyGeneralCombo’
kmymoneyreportconfigtab2decl.cpp:63: error: no matching function for call to ‘QHBoxLayout::addWidget(KMyMoneyGeneralCombo*&)’
/opt/qt/include/qlayout.h:386: note: candidates are:void QBoxLayout::addWidget(QWidget*, int, int)
make[5]: *** [kmymoneyreportconfigtab2decl.o] error 1
make[5]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2/widgets'
make[4]: *** [all] error 2
make[4]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2/widgets'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2'
make[2]: *** [all] error 2
make[2]: Leaving directory `/home/mvk/kmymoney2/kmymoney2/kmymoney2'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/mvk/kmymoney2/kmymoney2'
make: *** [all] error 2
exit
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
We can try another thing.

This is supposed to be an Arch repository for KMM. Can you try installing from there?
http://aur.archlinux.org/packages.php?ID=20182

Last edited by Hei Ku on Tue Aug 25, 2009 3:26 pm, edited 1 time in total.
Reason: added URL. ooops.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
maksvlad
Registered Member
Posts
7
Karma
0
OS
That was the first thing what I tried to do. I got the error both with aur package and with directly input instruction.
By the way, the aur package consists of a installation script only.
I've downgraded to 0.9.3 version.
Is it possible "--without-art" instruction influence on gui behaviour?
aga
Registered Member
Posts
85
Karma
0
OS
maksvlad wrote:Postby maksvlad » Mon Aug 24, 2009 6:10 am

I compelled kmm2 ver. 1.0.0. When I ran the application on may eeepc 1000 H (screen res. 1024*600) the width of window was set up to 1155 px. And I couldn't change one in anyway :(. I've tried to change font size, but no effect I got.
How I can change the width of KMM2 window.
P.S.


Just going back to your original post, are you saying that dragging the window margin has no effect on size, or is the margin off-screen? If the latter, alt/left-click/drag should reposition to allow resizing.

aga


aga, proud to be a member of KDE forums since 2008-Nov.
maksvlad
Registered Member
Posts
7
Karma
0
OS
aga wrote:Just going back to your original post, are you saying that dragging the window margin has no effect on size, or is the margin off-screen? If the latter, alt/left-click/drag should reposition to allow resizing.
aga

When I started kmm2 v.1 first time I got app's window with dimensions 1155px*577px. Right side of the window was out of screen. I was able to drag the window on screen, but I could not set the window's width less then 1155px. But I could stretch the window out 1155px, shrink and stretch window height.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You also need to install the Qt3 development and KDE3Libs development packages. KMyMoney cannot use KDE4 packages.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
maksvlad
Registered Member
Posts
7
Karma
0
OS
bcooksley wrote:You also need to install the Qt3 development and KDE3Libs development packages. KMyMoney cannot use KDE4 packages.

Thank you for the advice. But I haven't problems with compiling stable version. It is compiled without errors but it runs with described issue. KMM2 0.9.3 CVS is compiled and works pretty fine. Under current configuration I've compiled quanta (kde3) and that one works fine.
Could anybody tell me what is responsible for the view part of the KMM2 main window (look http://kmymoney2.sourceforge.net/online-manual/firsttime.mainwindow.html?
I found in kmymoney2rc these parts
Code: Select all
[General Options]
AutoSaveFile=true
AutoSavePeriod=4
Geometry=1155,577
LastUsedFile=/home/mvk/Документы/mvk.kmy
firstTimeRun=false
iconSize=0
showTitleBar=false

[MainWindow]
Height 600=601
Width 1024=1025

I change Geometry to "1024,577" set kmymoney2rc only readable and run KMM2. The main window is 1024*600, but the view part is wider then the window and goes out right side of the window without horizontal scrollbar . When I run KMM2 without any changing the view part gets width 1024 px and fills all screen height and width.
mertress
Registered Member
Posts
6
Karma
0
OS
Hello
I have same problem with kmymoney2 ver. 1.0.1-1 on my eee pc 901 and KDE 4.2 (Debian testing). I can't change window width to fit my screen (1024x600). And previous version 0.9.3 was ok with it.
Playing with kmymoney2rc gives nothing. But I found some interesting:
creating new account with new profile works well. And also switching to application language to English (I use Russian) makes window correct.

I guess, in my case, problem is in too long translated strings on page Forecast. And the program instead of adding horizontal scroll set main window width to total length of all strings.
So, it seems to be a bug...
User avatar
Hei Ku
Registered Member
Posts
784
Karma
3
OS
So, it might have to do with the translated strings. I will check the Russian version and contact the translator if necessary.


Hei Ku, proud to be a member of the KMyMoney Development Team since January-2008
maksvlad
Registered Member
Posts
7
Karma
0
OS
mertress wrote:Hello
But I found some interesting:
creating new account with new profile works well. And also switching to application language to English (I use Russian) makes window correct.

Creating new profile doesn't solve the problem for me. But when I switch appl.'s language from Russian to US English it works fine, the window fits the screen.
cas_rus
Registered Member
Posts
1
Karma
0
OS
I'm translator KMyMoney2 on Rissian. Thanks for your report.

For solve your problem get commit from my Git: http://git.altlinux.org/people/cas/packages/?p=kmymoney2.git;a=commit;h=03cfa28f766519cb50c6d20ed22d491186 or set smaller font size. I send patch to upstream.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]