Abdelrazak Younes schrieb:

Aren't you exaggerating a bit? There is a simple work-around: erase the session data.

This doesn't work. The toolbars are then still not visible. E.g. go into a formula or table and the corresponding toolbars won't come up.

I don't understand why nobody cared about this as this super annoying.

Anyway, I just put some code to detect changes in the ui files. Please test.

Please compile LyX before checking in. Now I can no longer compile:

D:\LyXSVN\lyx-devel\src\frontends\qt4\GuiApplication.cpp(1470) : error C2079: 'd
ate_value' uses undefined class 'QDateTime'
D:\LyXSVN\lyx-devel\src\frontends\qt4\GuiApplication.cpp(1470) : error C2440: 'i
nitializing' : cannot convert from 'QDateTime' to 'int'
        Source or target has incomplete type
D:\LyXSVN\lyx-devel\src\frontends\qt4\GuiApplication.cpp(1474) : error C2678: bi
nary '!=' : no operator found which takes a left-hand operand of type 'QDateTime
' (or there is no acceptable conversion)
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/global/qglobal.h(1630): could be 'bool operator !=(QBool,bool)' [fou
nd using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/global/qglobal.h(1631): or       'bool operator !=(bool,QBool)' [fou
nd using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/global/qglobal.h(1632): or       'bool operator !=(QBool,QBool)' [fo
und using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qchar.h(384): or       'bool operator !=(QChar,QChar)' [found
using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qbytearray.h(500): or       'bool operator !=(const QByteArray
 &,const QByteArray &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qbytearray.h(502): or       'bool operator !=(const QByteArray
 &,const char *)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qbytearray.h(504): or       'bool operator !=(const char *,con
st QByteArray &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(860): or       'bool operator !=(QString::Null,QStri
ng::Null)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(861): or       'bool operator !=(QString::Null,const
 QString &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(862): or       'bool operator !=(const QString &,QSt
ring::Null)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(887): or       'bool operator !=(const char *,const
QString &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(900): or       'bool operator !=(const char *,const
QLatin1String &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(913): or       'bool operator !=(const QLatin1String
 &,const QLatin1String &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1108): or       'bool operator !=(const QStringRef &
,const QStringRef &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1111): or       'bool operator !=(const QString &,co
nst QStringRef &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1115): or       'bool operator !=(const QStringRef &
,const QString &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1118): or       'bool operator !=(const QLatin1Strin
g &,const QStringRef &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1122): or       'bool operator !=(const QStringRef &
,const QLatin1String &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1145): or       'bool operator !=(const char *,const
 QStringRef &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qstring.h(1147): or       'bool operator !=(const QStringRef &
,const char *)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qpoint.h(79): or       'bool operator !=(const QPoint &,const
QPoint &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qpoint.h(212): or       'bool operator !=(const QPointF &,cons
t QPointF &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qsize.h(86): or       'bool operator !=(const QSize &,const QS
ize &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qsize.h(234): or       'bool operator !=(const QSizeF &,const
QSizeF &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qrect.h(165): or       'bool operator !=(const QRect &,const Q
Rect &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/tools/qrect.h(601): or       'bool operator !=(const QRectF &,const
QRectF &)' [found using argument-dependent lookup]
        d:\lyxsvn\lyx-devel\lyx-windows-deps-msvc2008\qt-4\include\qtcore\../../
src/corelib/kernel/qvariant.h(527): or       'bool operator !=(const QVariant &,
const QVariantComparisonHelper &)' [found using argument-dependent lookup]
        C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\guiddef.h(197): or
       'int operator !=(const GUID &,const GUID &)' [found using argument-depend
ent lookup]
        d:\lyxsvn\lyx-devel\src\ColorCode.h(203): or       'bool lyx::operator !
=(const lyx::RGBColor &,const lyx::RGBColor &)'
        d:\lyxsvn\lyx-devel\src\FontInfo.h(163): or       'bool lyx::operator !=
(const lyx::FontInfo &,const lyx::FontInfo &)'
        d:\lyxsvn\lyx-devel\src\Spacing.h(91): or       'bool lyx::operator !=(c
onst lyx::Spacing &,const lyx::Spacing &)'
        D:\LyXSVN\lyx-devel\src\support/docstring.h(70): or       'bool lyx::ope
rator !=(const lyx::docstring &,const char *)'
        D:\LyXSVN\lyx-devel\src\support/docstring.h(73): or       'bool lyx::ope
rator !=(const char *,const lyx::docstring &)'
        d:\lyxsvn\lyx-devel\src\CursorSlice.h(62): or       'bool lyx::operator
!=(const lyx::CursorSlice &,const lyx::CursorSlice &)'
        d:\lyxsvn\lyx-devel\src\DocIterator.h(280): or       'bool lyx::operator
 !=(const lyx::DocIterator &,const lyx::DocIterator &)'
        D:\LyXSVN\lyx-devel\src\Font.h(139): or       'bool lyx::operator !=(con
st lyx::Font &,const lyx::Font &)'
        D:\LyXSVN\lyx-devel\src\Dimension.h(75): or       'bool lyx::operator !=
(const lyx::Dimension &,const lyx::Dimension &)'
        D:\LyXSVN\lyx-devel\src\Length.h(107): or       'bool lyx::operator !=(c
onst lyx::Length &,const lyx::Length &)'
        D:\LyXSVN\lyx-devel\src\Length.h(176): or       'bool lyx::operator !=(c
onst lyx::GlueLength &,const lyx::GlueLength &)'
        while trying to match the argument list '(QDateTime, int)'

I will be off by now for another week.

regards Uwe

Reply via email to