after starting lyx.
the toolbar does not flash once i close the buffer and create a new one.
here part of the profile of launching lyx:
===================================================
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
33.33 0.01 0.01 257257 0.00 0.00
lyx::KeySymbol::operator==(lyx::KeySymbol const&) const
33.33 0.02 0.01 1238 0.01 0.01
lyx::string_to_qkey(std::string const&)
33.33 0.03 0.01
lyx::frontend::GuiApplication::notify(QObject*, QEvent*)
0.00 0.03 0.00 77788 0.00 0.00 char
lyx::support::(anonymous namespace)::ascii_tolower<char>(char)
0.00 0.03 0.00 13013 0.00 0.00
lyx::Lexer::Pimpl::next(bool)
0.00 0.03 0.00 10886 0.00 0.00
lyx::Lexer::Pimpl::getString() const
===================================================
here part of the profile of launching lyx + buffer-new:
===================================================
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls ms/call ms/call name
100.00 0.01 0.01 19 0.53 0.53
std::_Rb_tree<lyx::ColorCode, std::pair<lyx::ColorCode const,
lyx::ColorSet::Information>, std::_Select1st<std::pair<lyx::ColorCode
const, lyx::ColorSet::Information> >, std::less<lyx::ColorCode>,
std::allocator<std::pair<lyx::ColorCode const,
lyx::ColorSet::Information> > >::find(lyx::ColorCode const&) const
0.00 0.01 0.00 257257 0.00 0.00
lyx::KeySymbol::operator==(lyx::KeySymbol const&) const
0.00 0.01 0.00 130122 0.00 0.00 char
lyx::support::(anonymous namespace)::ascii_tolower<char>(char)
0.00 0.01 0.00 18083 0.00 0.00
lyx::support::compare_ascii_no_case(std::string const&, std::string const&)
0.00 0.01 0.00 14439 0.00 0.00
lyx::Lexer::Pimpl::next(bool)
0.00 0.01 0.00 12328 0.00 0.00
lyx::Lexer::Pimpl::getString() const
===================================================
perhaps someone can make sense of this. the flashing is not so nice...