[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Commit 4f3a8eba3a doesn't compile
From: |
Werner LEMBERG |
Subject: |
Re: Commit 4f3a8eba3a doesn't compile |
Date: |
Thu, 21 Jul 2022 16:26:06 +0000 (UTC) |
[commit 94bfed42b7200a9f9ed7437158f5f0332370037c]
>> No, it's not – at least not while using my dark KDE theme. The
>> input field is disabled, yes, but the text colour of 'The quick
>> ...' doesn't change to gray, contrary to other grayed-out items
>> like the 'Next Named Instance' box.
>
> I doubt it's a theme issue.. I tried on my Kubuntu VM and the color
> is changing correctly (see the attached picture).
Interesting. Maybe a buglet in Qt then? My old openSUSE distribution
uses version 5.12.7... Within the next weeks I have to eventually
upgrade my laptop to a new openSUSE version; will then test again.
>> * In the 'All Glyphs' text source mode, clicking & moving the mouse
>> right/left could increase/decrease the current counter in 1-unit
>> steps. Clicking & moving the mouse up/down could
>> increase/decrease the current counter by the average number of
>> glyphs displayed per line.
>>
>> * In the 'Text String' text source mode, the behaviour should be
>> the same as in the 'Singular Grid View' tab, i.e., I can move
>> around the contents of the main window.
>
> Enlisted. But as I mentioned long before, this may need the 3rd
> round of rewriting for the `GlyphContinous` widget. It currently
> directly inherits from `QWidget` because I failed to foresee that we
> will need zooming and interaction features. I will use
> `QGraphicsView` to rewrite it wholly, after I finished the hinting
> comparator view.
Again, no pressure! You have a lot of time to work on that :-)
> Done the same, but unable to reproduce. Could you please try to
> attach the debugger for more detailed information?
OK, here is the backtrace at `continuous.cpp:152` as soon as the
breakpoint gets hit the first time (after loading `msyh.ttc`):
```
#0 ContinuousTab::setCharMaps (this=0xa42760, charMaps=std::vector of length
2, capacity 2 = {...})
at ../src/ftinspect/panels/continuous.cpp:152
#1 0x00000000004378d4 in ContinuousTab::reloadFont (this=0xa42760) at
../src/ftinspect/panels/continuous.cpp:43
#2 0x000000000043d607 in MainGUI::reloadCurrentTabFont (this=0x7fffffffd620)
at ../src/ftinspect/maingui.cpp:250
#3 0x000000000043d504 in MainGUI::showFont (this=0x7fffffffd620) at
../src/ftinspect/maingui.cpp:235
#4 0x000000000043d17a in MainGUI::watchCurrentFont (this=0x7fffffffd620) at
../src/ftinspect/maingui.cpp:168
#5 0x00000000004412d4 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (MainGUI::*)()>::call(void (MainGUI::*)(),
MainGUI*, void**) (
f=(void (MainGUI::*)(MainGUI * const)) 0x43d162
<MainGUI::watchCurrentFont()>, o=0x7fffffffd620,
arg=0x7fffffffcda0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#6 0x0000000000441158 in QtPrivate::FunctionPointer<void
(MainGUI::*)()>::call<QtPrivate::List<>, void>(void (MainGUI::*)(), MainGUI*,
void**) (f=(void (MainGUI::*)(MainGUI * const)) 0x43d162
<MainGUI::watchCurrentFont()>,
o=0x7fffffffd620, arg=0x7fffffffcda0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#7 0x0000000000440f15 in QtPrivate::QSlotObject<void (MainGUI::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x99d250, r=0x7fffffffd620, a=0x7fffffffcda0,
ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414
#8 0x00007ffff773ff4f in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#9 0x0000000000416d71 in FontFileManager::currentFileChanged
(this=0x7fffffffd780)
at src/ftinspect/ftinspect.p/moc_fontfilemanager.cpp:139
#10 0x000000000041fee0 in FontFileManager::onTimerOrWatcherFire
(this=0x7fffffffd780)
at ../src/ftinspect/engine/fontfilemanager.cpp:104
#11 0x0000000000420d21 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, void (FontFileManager::*)()>::call(void
(FontFileManager::*)(), FontFileManager*, void**) (
f=(void (FontFileManager::*)(FontFileManager * const)) 0x41feb8
<FontFileManager::onTimerOrWatcherFire()>,
o=0x7fffffffd780, arg=0x7fffffffcff0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#12 0x0000000000420be3 in QtPrivate::FunctionPointer<void
(FontFileManager::*)()>::call<QtPrivate::List<>, void>(void
(FontFileManager::*)(), FontFileManager*, void**) (
f=(void (FontFileManager::*)(FontFileManager * const)) 0x41feb8
<FontFileManager::onTimerOrWatcherFire()>,
o=0x7fffffffd780, arg=0x7fffffffcff0) at
/usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#13 0x0000000000420a33 in QtPrivate::QSlotObject<void (FontFileManager::*)(),
QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*,
void**, bool*) (which=1, this_=0x87e3b0, r=0x7fffffffd780,
a=0x7fffffffcff0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:414
#14 0x00007ffff773ff4f in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#15 0x00007ffff774cd57 in QTimer::timeout(QTimer::QPrivateSignal) () from
/usr/lib64/libQt5Core.so.5
#16 0x00007ffff774d0b8 in QTimer::timerEvent(QTimerEvent*) () from
/usr/lib64/libQt5Core.so.5
#17 0x00007ffff774099b in QObject::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#18 0x00007ffff652cf2c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
()
from /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffff6534540 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff7710328 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#21 0x00007ffff776c819 in QTimerInfoList::activateTimers() () from
/usr/lib64/libQt5Core.so.5
#22 0x00007ffff776cfe1 in ?? () from /usr/lib64/libQt5Core.so.5
#23 0x00007ffff3438624 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#24 0x00007ffff34389c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007ffff3438a4c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#26 0x00007ffff776d3af in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#27 0x00007ffff770e57a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#28 0x00007ffff7717780 in QCoreApplication::exec() () from
/usr/lib64/libQt5Core.so.5
#29 0x000000000043c8c5 in main (argc=1, argv=0x7fffffffd9c8) at
../src/ftinspect/ftinspect.cpp:31
```
However, if I press 'continue' in gdb, it stops after one second again
at this place. And again, and again... Is this normal? How shall I
ever test a change?
Werner
- Re: Commit 4f3a8eba3a doesn't compile, Werner LEMBERG, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Charlie Jiang, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Werner LEMBERG, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Charlie Jiang, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile,
Werner LEMBERG <=
- Re: Commit 4f3a8eba3a doesn't compile, Charlie Jiang, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Werner LEMBERG, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Werner LEMBERG, 2022/07/21
- Message not available
- Re: Commit 4f3a8eba3a doesn't compile, Werner LEMBERG, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Werner LEMBERG, 2022/07/21
- Re: Commit 4f3a8eba3a doesn't compile, Charlie Jiang, 2022/07/21