ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Aleksey Novodvorsky <a.e.nvdv@gmail.com>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] KDE4 menu
Date: Wed, 11 May 2011 12:38:52 +0400
Message-ID: <BANLkTint39fUmfZ0wmKHOwHdQY1vmDVBfA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinsxOQDyasK0nuJxOvmhkwAfe9bkw@mail.gmail.com>

11 мая 2011 г. 2:03 пользователь Igor Vlasenko <ivlasenko@gmail.com> написал:
> Разобрался с KDE4 menu,
>
> 1) как и чувствовал.
>
> Неприятности с меню KDE4 были из-за того, что kbuildsycoca4
> сегфолтился на <MergeDir>applications-merged</MergeDir>.
>
> Большое спасибо Сергею Турчину, который добрался проверить.
>
>> > также, 0.30 отличается от 0.29 тем, что там
>> > в /etc/xdg/menus/applications.menu
>> > добавлена строка
>> >       <MergeDir>applications-merged</MergeDir>
>> > что, если ее убить?
>> kbuildsycoca4 перестает падать.
>
> Это первая грабля, которая убрана в версии меню 0.32.
> Теперь меню можно ставить и смотреть.
>
> Но там уже ждет вторая грабля -- обезличивание вторичных иконок в подменю
> (о чем писал Слава Дубровский).
>
> Этот механизм работает следующим образом:
> код в kdeui/icons/kiconloader.cpp предпочитает загружать "похожие" пиктограммы
> из текущей темы (oxygen, например), вместо того, чтобы брать точное
> совпадение по названию пиктограммы
> из дефолтовой темы hicolor.
>
> Как хак, я сгенерировал пакет симлинков из hicolor в oxygen, после
> чего после удаления кеша пиктограмм
> rm -rf kpc/ icon-cache.kcache и перелогина пропавшие иконки появились.
> Но этот хак не метод, так как тем у KDE может быть несколько (то же
> танго, например).
>
> там надо чинить KIconLoaderPrivate::findMatchingIcon
> но так как уже поздно, буду глядеть завтра.

Игорь, надо обязательно прокинуть исправления в p6, как только они будет готовы.

Rgrds, Алексей

  reply	other threads:[~2011-05-11  8:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-10 22:03 Igor Vlasenko
2011-05-11  8:38 ` Aleksey Novodvorsky [this message]
2011-05-11 10:41 ` Sergey V Turchin
2011-05-11 10:43 ` Sergey V Turchin
2011-05-11 14:28 ` Sergey V Turchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BANLkTint39fUmfZ0wmKHOwHdQY1vmDVBfA@mail.gmail.com \
    --to=a.e.nvdv@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git