tsujan / kvantum Goto Github PK
View Code? Open in Web Editor NEWA Linux SVG-based theme engine for Qt and KDE
A Linux SVG-based theme engine for Qt and KDE
ok, then i will add this here
List of all default qt icons: http://qt-project.org/doc/qt-4.8/qstyle.html#StandardPixmap-enum
Freedesktop icons: http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
Blog post about freedesktop icons in qt : http://blog.qt.digia.com/blog/2009/02/13/freedesktop-icons-in-qt/
Hello, @tsujan. I faced with KNotes crashes after 5c17bdb commit (15 April). I've tested earlier commits, them works fine. Currently I'm running kde-4.14.3 on FreeBSD. To reproduce the bug I need to launch KNotes, then push the tray icon. Also, Oxygen works fine.
Crash info:
Application: KNotes (knotes), signal: Segmentation fault
[KCrash Handler]6 0x000000081a8979e2 in Kvantum::drawPrimitive () from /usr/local/lib/qt4/plugins/styles/libkvantum.so
7 0x000000081a8abbca in Kvantum::drawControl () from /usr/local/lib/qt4/plugins/styles/libkvantum.so
8 0x0000000805860d9c in QMenu::paintEvent () from /usr/local/lib/qt4/libQtGui.so.4
9 0x00000008054588b0 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4
10 0x0000000805861ae7 in QMenu::event () from /usr/local/lib/qt4/libQtGui.so.4
11 0x000000080540bced in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4
12 0x000000080540edac in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4
13 0x0000000804ce7347 in KApplication::notify () from /usr/local/lib/libkdeui.so.5
14 0x0000000806907e86 in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4
15 0x0000000805453835 in QWidgetPrivate::drawWidget () from /usr/local/lib/qt4/libQtGui.so.4
16 0x000000080562afc7 in QWidgetPrivate::scrollRect () from /usr/local/lib/qt4/libQtGui.so.4
17 0x000000080562a0d0 in QWidgetPrivate::scrollRect () from /usr/local/lib/qt4/libQtGui.so.4
18 0x0000000805482fa3 in qt_try_modal () from /usr/local/lib/qt4/libQtGui.so.4
19 0x000000080547ff27 in QApplication::x11ProcessEvent () from /usr/local/lib/qt4/libQtGui.so.4
20 0x00000008054abe31 in QX11Info::isCompositingManagerRunning () from /usr/local/lib/qt4/libQtGui.so.4
21 0x00000008117b4568 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
22 0x00000008117b48fe in g_main_context_pending () from /usr/local/lib/libglib-2.0.so.0
23 0x00000008117b4984 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
24 0x0000000806934e41 in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
25 0x00000008054abb0d in QX11Info::isCompositingManagerRunning () from /usr/local/lib/qt4/libQtGui.so.4
26 0x000000080690549f in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4
27 0x000000080690843d in QCoreApplication::exec () from /usr/local/lib/qt4/libQtCore.so.4
28 0x00000000004142a6 in ?? ()
29 0x0000000000413e4f in ?? ()
30 0x0000000800660000 in ?? ()
31 0x0000000000000000 in ?? ()
so i played a bit with your theme engine and have encountered a few issues:
in general it would be much easier if we could use multiple svg files instead of one huge(eg one file for each section or element)
also my current(unfinished) theme:
https://drive.google.com/file/d/0B_2_dsXrefR-WWM1aHM0NlhfVTQ/view?usp=sharing
and how it should look like:
https://github.com/sixsixfive/themes/tree/master/Glare
it seems there is some bug with here, since i can't really describe it i made a short video:
https://drive.google.com/file/d/0B_2_dsXrefR-VjRNNDFDSVFJS1k/view?usp=sharing
also the application:
https://github.com/aarnt/octopi/tree/master/notifier/octopi-notifier
It would be great if we could theme the menu headers or even hide them
tada a bug ;) for some reasons the frame from the combobox is missing, also i'm not sure if this is the qt4 or qt5 save dialog since its running in kde@qt4(i guess it qt5 since it's using a different icon theme) the app is also lximage-qt(saving from the screenshot action)
there is also another small issue in the window behind: the selected arrow/expander(F5)? doesn't use the selected arrow color/image(which is white im my theme)
Hello, @tsujan. Is there a way now to build kvantumpreview and kvantummanager for qt4?
pcman-qt5:
http://en.zimagez.com/zimage/unbenannt67.php
a 4 or 5 pixel border would be nice, i also tried to set a text margin for the itemview but it had no effect
Kvantum 0.8.21 deb fails to install on kubuntu 14.04 LTS with the following error:
sudo dpkg -i 166241-kvantum_0.8.21_amd64.deb
(Reading database ... 205041 files and directories currently installed.)
Preparing to unpack 166241-kvantum_0.8.21_amd64.deb ...
Unpacking kvantum (0.8.21) over (0.8.20-1) ...
dpkg: dependency problems prevent configuration of kvantum:
kvantum depends on libqt5core5a (>= 5.4.0); however:
Version of libqt5core5a:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.
kvantum depends on libqt5gui5 (>= 5.4.0); however:
Version of libqt5gui5:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.
kvantum depends on libqt5svg5 (>= 5.4.0); however:
Version of libqt5svg5:amd64 on system is 5.2.1-1.
kvantum depends on libqt5widgets5 (>= 5.4.0); however:
Version of libqt5widgets5:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.
kvantum depends on libqt5x11extras5 (>= 5.4.0); however:
Version of libqt5x11extras5:amd64 on system is 5.2.1-1.
dpkg: error processing package kvantum (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Errors were encountered while processing:
kvantum
This does not occur on kubuntu 15.04 with plasma5 only on kubuntu 14.04 LTS.
Kvantum seems to be expecting qt5 tools >=5.4.0 and 14.04 LTS only has 5.2.1.
I have gone back to kvantum 0.8.20-1 for now.
Thanks,
WolfLand
P.S. I really like the new kvcurves theme. Would a version with blue highlight color be in the
offing ?. I really need to learn how to use inkscape so I can make minor changes myself but
so far I have not been able to get anywhere with it.
I have few issues with kvantum and qt5 qupzilla open new tab button is middle of that tab not where it should be.
https://www.dropbox.com/s/jkuae8gfwdejqka/screenshot.png?dl=0
https://www.dropbox.com/s/4bpiive7hzbq33b/screenshot2.png?dl=0
Second bug is this there is no text in font settings of qupzilla only those buttons to change so you can't see how big or small font is.
https://www.dropbox.com/s/x7zoorw6omnihlj/screenshot1.png?dl=0
since currently it's forced to display the text beside icons which makes toolbars just too big for small screens
KMail toolbar spans almost the whole desktop:
http://en.zimagez.com/zimage/unbenannt63.php
sure you can change it at least for kde apps but you would need to do it for every application if there is no settingscenter installed
http://de.zimagez.com/zimage/bildschirmfoto-23122014-094014.php
it seems i have some issues with them eg: that black stripe on the bottom and right side or this symbol in the top left corner they also won't accept frames(I wan't to make it look like the docks)
also is it possible to center the titlebar text?
well seems they are still using the fusion/default syle in qt5
qt4 vs. qt5:
not really a bug but annoying, I wonder why the gtkstyle is so fast here...
https://drive.google.com/file/d/0B_2_dsXrefR-SjlVcU9uV0x5R0E/view?usp=sharing
comparison kvantum<->clearlooks
http://de.zimagez.com/zimage/bildschirmfoto-26122014-205043.php
looks also better on the default theme but still cut off
http://de.zimagez.com/zimage/bildschirmfoto-26122014-210032.php
Hello again, it's been a long time :)
I've been away for a while, also lost my Dynamo theme configs...And today opendesktop is down for mantainance...
Uninstalled kvantum from an old cloned dir, and grabbed both Qt4 and Qt5 versions of it from the Arch User Repository today.
Tried the default theme and immediately felt the need for:
there should be a way to set a minumum size for spinbuttons. Also I already set the minumum size of lineedits and buttons to 22px but spinbuttons are still tiny compared to them
a comparison with fusion on the lxqt panel settings dialog:
Also it seems they are 2 different kinds of spinbuttions since changing the top border only affects 2, would also explain why the up/down arrows look different(space between)
according to the ui file all four are qspinbox widgets https://github.com/lxde/lxqt-panel/blob/master/panel/config/configpaneldialog.ui
How i can disable kde systemsettings mouse single click in Kvantum ?.
Greetings, and thank you for this nice engine!
I think, it's time to make separate qt5 and qt4 options in build instruction, thus we can build both libraries at same time. It would very-very usefull for automatic build system (no requirements for separate builds).
I guess it possible with cmake only(or autotools), but maybe there is a more easy way.
Hi @tsujan , I found a problem in Konsole profile editor, specifically on colors edit window. It seems that Kvantum engine is not properly treating the colors fields, see:
Hey @tsujan take a look on this screenshot:
There seems to be a minor glitch at the junction (left and right) of SVG elements on itemViews (you may need to enlarge the image to see), but in some specific applications. For now, I could see this on Dolphin and Kdisplay. I have tested with your theme (KvFlat), EvolvereLight and the default. I tested it with several frame.left/right (between 2 and 10) values, and for all, the glitch is visible. I also consulted the manual and I didn't find nothing related. It also seems the text.margin parameter is ignored, I tested with values between 1 and 10, and there was no effect. Can you confirm if I am doing something wrong?
Many thanks!!
With the release of Ubuntu 14.04.2 iso's on 20150219 comes a new 3.16 version of the kernel and
new graphics stack. Unfortunetly Canonical decided not to make the 3.16 kernel part ot the normal update process to 14.04.2.
This leaves users to either completely rebuild their distro's from scratch using the new 14.04.2 iso's with the 3.16 kernel and graphics stack or perform a risky manual update process if they want to include the 3.16 kernel and graphics stack in any existing distro installations.
This means that anyone making debs for 14.04.2 will now have to deal with both kernel versions (e.g. 3.13 and 3.16) since the 14.04.2 kernel update is optional for existing installations but included in the new iso's.
After doing the manual install of the 3.16 kernel and graphics stack on my 14.04.2 KDE distro I saw the new Kvantum 0.8.15-11 version and proceeded to install it using QApt like I have in the past.
Unfortunately QApt decided to uninstall the mesa video driver package associated with the 3.16 kernel and install the 3.13 version instead probably because the deb was built against the 3.13
kernel and graphics stack which trashed the machine.
After more than a few cuss words I was able to get the correct driver packages back on the machine
and it is working ok again.
This is going to cause a "nightmare from hell" for anyone trying to make debs for Ubuntu 14.04.2 as
you will not be able to tell if the target machine has the 3.13 kernel and graphics stack or the 3.16
kernel and graphics stack at build time(e.g. I assume you will have to build 2 debs one for each kernel package).
Thanks again Canonical !!!.
From my perspective I guess the safe thing to do is to compile from source for the mean time for
new versions of Kvantum as I certainly don't expect you to build 2 different debs.
I am already building from source for my 32bit laptop so it won't be a hassle to do the one 64bit
machine with KDE as well.
I opened this issue for information purposes so that you would know that this would come up with
Ubuntu 14.04.2 users that have either installed from 14.04.2 iso's or done the manual upgrade from
the 3.13 kernel to the 3.16 kernel and graphic stack.
If for some reason you decided to make 2 debs or find some more creative way to solve the problem
and need me to do some testing l will be glad to help.
Thanks,
WolfLand
Is there any way to use different buttons (svg elements) on toolbars? If not, it would be nice to have some option to not use background in normal status.
is it possible to use a different progressbar-state if the progress bar is selected eg in treeviews?
for example like gtk does this? comparison transmission-qt & transmission-gtk
Hi @tsujan , Is there any way to apply Kvantum engine in root mode by using the command "kdesudo"? With "sudo" command is fine, but when I try to apply the theme with kdesudo style returns to oxygen, take a look in the screenshot:
When using this style cantata (qt5) inmediatly crashes
https://github.com/CDrummond/cantata
$ cantata
[1] 27837 segmentation fault (core dumped) cantata
The same problem occurred with the popup menus (#20, already solved) also seems to occur with tooltips without compositing, it uses the default of 2px.
I tried to set a [Tooltip] group, but it seems ignore. Is there any specific configuration for tooltips related to frame.top/bottom/left/right?
Note: the padding that I seek should work on all sides (top, bottom, left and right)
something i found recently in pencil2d(http://www.pencil2d.org):
well, this looks weird
thx for that ktorrent example i found another ugly bug ;)
http://en.zimagez.com/zimage/statusabar-frames.php
maye we could completly hide them like in qtcurve?
border is drawn under the content(eg icon):
Hello, tsujan.
There is a small bug with stickers vertical size resetting after relogin. I'm using qt4. Bug appears when we change sticker vertical size to minimum or almost minimum. Also, I'm testing it with qtcurve and resizing to minimum works fine with it.
Please, check screen shot with proof:
P.S. BTW, thank you for a great job with Kvantum!
Kvantum 0.8.2+ fails to install in Ubuntu 14.10/14.04 due to unsatified dependencies:
(Reading database ... 214128 files and directories currently installed.)
Preparing to unpack .../166241-kvantum_0.8.2_amd64.deb ...
Unpacking kvantum (0.8.2) over (0.8.2) ...
dpkg: dependency problems prevent configuration of kvantum:
kvantum depends on qtbase-abi-5-3-2; however:
Package qtbase-abi-5-3-2 is not installed.
dpkg: error processing package kvantum (--install):
dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for mime-support (3.55ubuntu1) ...
Errors were encountered while processing:
kvantum
I tried to find the requested packages but was not able to. This occurs with 0.8.2
through 0.8.5. Kvantum 0.8.1 installs without any issues. If I recall correctly I was
also not able to find the version that was requsted (.e.g. the Ubuntu repository did
not have as new a version as the one requested).
Sorry for the lateness of this report as I became tied up with other issues and this
one skipped my mind until I tried to install 0.8.5 today (12/03/14).
Thanks
Brett
tsujan, I have been getting the following segfaults with Kvantum 0,8,18 in Kubuntu 15,04 and kf5.
Kvantum seems to be working as far as I can tell and the KvFlattest looks great. I tried the Kvflat
theme as well (no transparency) and got the same result as sometime apps need to be added to
the exception list to not segfault with transparency.
I am dealing with several issues at the moment so it took me a while to determine that the segfaults
were not related to the other problems but were coming from Kvantum.
Here are the segfaults:
kactivitymanage[1531]: segfault at 7fd8d37c7440 ip 00007fd8eaa008e0 sp 00007ffccdf020c0 error 4 in libQt5Core.so.5.4.1[7fd8ea71f000+533000]
segfault at 7fefb2436440 ip 00007fefc8bb98e0 sp 00007ffc86f99d80 error 4 in libQt5Core.so.5.4.1[7fefc88d8000+533000]
kactivitymanage[1564]: segfault at 7f7af75ad440 ip 00007f7b0e7db8e0 sp 00007ffcf2fc3500 error 4 in libQt5Core.so.5.4.1[7f7b0e4fa000+533000]
I will try playing with the theme options to see if I can narrow things down a bit.
I was not sure if Kvantum was ready for kf5 but it seemed to work and look ok and I did not
realize the segfaults were related until I switched back to the breeze theme and they stopped
being output.
Do I need to rebuild from source and if so do I need to build both Qt4 and Qt5 or just Qt5 ?
Will building both yeild a Kvantum Manager for both targets or one for both ?
I will work on this more tomorrow and just wanted you to know about this preliminary info.
I will provide more info as soon as I find it out.
Thanks again,
WolfLand
P.S. Do you have any idea if your aurorae with work with kf5 and if so where to install
it ? It took me several hours to track down the splash background so I could change it
and I had to hack the SDDM background as well as the SDDM config dialog is not
working yet in Ubuntu's version of kf5.
I wonder if this might be possible? It would be nice if i could make the qt style completely look like my gtk themes
eg:
https://raw.githubusercontent.com/sixsixfive/Glare/master/x-screenshots/gtk2.png
https://raw.githubusercontent.com/sixsixfive/Glare/master/x-screenshots/gtk3.png
I wonder why i haven't mentioned this yet but there should be a way to set the theme for all users(eg /etc/kvantum.conf or /etc/xdg/kvantum.conf)
Since I can't currently find any issues in my tested qt-apps ;)
Also is the app specific theme loading from quantum style still available?
It would be nice if the kvantum manager would show up in settings managers
for example:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Name=Kvantum Manager
Comment=A simple GUI for installing and choosing Kvantum themes
Exec=kvantummanager
Icon=preferences-desktop-theme
Terminal=false
Type=Application
StartupNotify=false
Categories=Settings;DesktopSettings;Qt;LXQt;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;X-GNOME-PersonalSettings
X-KDE-StartupNotify=false
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.