Stefan Schimanski wrote:

Am 24.02.2008 um 01:09 schrieb rgheck:

Stefan Schimanski wrote:

Am 24.02.2008 um 00:56 schrieb rgheck:


This seems to have been caused by commit 23147. I have no idea why that would be. But my fonts are fine with 23146 and a mess with 23147. The weird thing is that it's all messed up on the menu, too, not just in the body.

Very strange. I could have imagined that the RTL stuff could cause something like that. Can you comment the line "popup()->setLayoutDirection(rtl ? Qt::RightToLeft : Qt::LeftToRight);" in GuiCompleter? Just a guess.

No effect, I'm afraid.

What I don't understand is why changes in GuiCompleter would cause problems on LyX's menus.

As I don't touch the menus there, either we change something global drawing related or it is a memory corruption or bug. If 23146 worked, can you try to do some kind of binary search with the changes to find the exact line which causes the problem?

In fact, it's enough to cause the problem to add this:

class RtlItemDelegate : public QItemDelegate {};
RtlItemDelegate rtlItemDelegate;

Is there something about having multiple QItemDelegates?

rh

Reply via email to