Gtk Configuration is doesn't display real current configuration status after upgrade from Precise to Quantal

Bug #1058464 reported by RussianNeuroMancer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kde-gtk-config (Ubuntu)
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

Gtk Configuration is doesn't display real current GTK configuration status after upgrade from Precise to Quantal. Please look at attached screenshot: Icon checkboxes is not set, Icon theme is not selected, GTK style toolbar is not selected, some random font (probably just first font from fonts list, sorted in alphabetical order) instead of used in Precise Ubuntu regular 9 font. At the same time GTK application behave like Icon checkboxes is set, Icon theme is Oxygen, used font is Ubuntu, etc. So it's more likely displaying current configuration issue, not configuration issue itself.

Tags: kubuntu
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :
Revision history for this message
Tehnick (tehnick) wrote :

First of all, there was no kde-gtk-config in Ubuntu Precise. This package was firstly added in Ubuntu Quantal. Another package (kcm-gtk) was in Ubuntu Precise instead.

> Icon checkboxes is not set, Icon theme is not selected, GTK style toolbar is not selected

There were no such options in kcm-gtk 2:0.5.3-1ubuntu3. They are new and they use default values at first launch.

> some random font (probably just first font from fonts list, sorted in alphabetical order) instead of used in Precise Ubuntu regular 9 font

Did you have the same ~/.gtkrc-2.0-kde4 and ~/.gtkrc-2.0 files before update? (See LP: #1051630)

> Icon theme is not selected

At least this will be solved when kde-gtk-config 3:2.1-1ubuntu1 is uploaded. (See LP: #1047387)

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

> They are new and they use default values at first launch.
First launch of Gtk Configuration? But in fact GTK applications use for example show icons in GTK buttons and menus, but this fact doesn't reflected in default values of Gtk Configuration (no checkboxes "Show Icons in GTK Buttons" and "Show Icons in GTK Menus").

> > some random font (probably just first font from fonts list, sorted in alphabetical order) instead of used in Precise Ubuntu regular 9 font
> Did you have the same ~/.gtkrc-2.0-kde4 and ~/.gtkrc-2.0 files before update? (See LP: #1051630)
Yes, but this files contain information only about theme, not about font. (This issue tested in VM on clear Kubuntu 12.04.1 installation upgraded to Kubuntu 12.10 Beta 2, so you may easily reproduce it.)

> At least this will be solved when kde-gtk-config 3:2.1-1ubuntu1 is uploaded. (See LP: #1047387)
Thank you for link! I hope this package will be updated.

P.S. There is same issue on clear Kubuntu 12.10 Beta 2 installation too.

Revision history for this message
Tehnick (tehnick) wrote :

> First launch of Gtk Configuration?

Yes.

> But in fact GTK applications use for example show icons in GTK buttons and menus, but this fact doesn't reflected in default values of Gtk Configuration (no checkboxes "Show Icons in GTK Buttons" and "Show Icons in GTK Menus").

I will ask upstream if system settings can be checked at first launch.

> Yes, but this files contain information only about theme, not about font.

Maybe you are right. I was not the maintainer of kcm-gtk and I do not remember where it stores its font settings.

But kde-gtk-config stores it in ~/.gtkrc-2.0-kde4. For example, my current settings:

$ cat ~/.gtkrc-2.0-kde4
# File created by KDE Gtk Config
# Configs for GTK2 programs

include "/usr/share/themes/QtCurve/gtk-2.0/gtkrc"
style "user-font"
{
        font_name="Sans Serif"
}
widget_class "*" style "user-font"
gtk-font-name="Sans Serif 10"
gtk-theme-name="QtCurve"
gtk-icon-theme-name="oxygen"
gtk-fallback-icon-theme="oxygen"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1

Jonathan Riddell (jr)
tags: added: kubuntu
Revision history for this message
Tehnick (tehnick) wrote :

>> But in fact GTK applications use for example show icons in GTK buttons and menus, but this fact doesn't reflected in default values of Gtk Configuration (no checkboxes "Show Icons in GTK Buttons" and "Show Icons in GTK Menus").
>>
> I will ask upstream if system settings can be checked at first launch.

Developer replied. Quotation:
> They are already being checked (it uses the Qt/KDE settings as default).

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Then why Gtk Configuration de facto doesn't display currently used configuration in case of Kubuntu?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde-gtk-config - 3:2.1-1ubuntu1

---------------
kde-gtk-config (3:2.1-1ubuntu1) quantal; urgency=low

  * Merge with Debian for bugfix release LP: #1047387
    remaining changes:
   - Remove build dependency on libgtk2.0-dev and libgtk-3-dev.
   - Add patch debian/patches/kubuntu_01_no_gtk.diff
  * Fixes ability to scan for gtk settings LP: #1058464

kde-gtk-config (3:2.1-1) unstable; urgency=low

  * Update to stable release 2.1.
  * Deleted file debian/patches/fix-build-on-kfreebsd-and-hurd-i386:
    accepted in upstream.
  * Added file debian/patches/fix-loading-icons:
    without this patch KDE-GTK-Config module scans ./ directory if option
    gtk-icon-theme-name or option gtk-fallback-icon-theme is empty or invalid,
    now first element from the list of found icon themes is used.
    (Closes: #678714)
 -- Boris Pek <email address hidden> Fri, 07 Sep 2012 22:01:43 +0300

Changed in kde-gtk-config (Ubuntu Quantal):
status: New → Fix Released
Revision history for this message
Aleix Pol (aleixpol-kde) wrote :

#6 what do you mean by "Gtk Configuration de facto doesn't display currently used configuration"?

Right now, when you press the "Default" button, the dialog is sync'ed with the used settings on your system.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

I check updated package: unfortunately there is still problem with font. Do I need fill new bugreport or reopen this one?

> what do you mean by "Gtk Configuration de facto doesn't display currently used configuration"?
Exactly that. User expect to see currently used configuration when he open some settings module.

> Right now, when you press the "Default" button, the dialog is sync'ed with the used settings on your system.
Everything else (including need of additional action, like click on "Default" button to see currently used settings) is unexpected UI behavior.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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