Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
AFAIR some people (Pavel among them IIRC) complained that they want
their hand-made changes to the ui file WRT to default windows and
toolbars position to not be ignored. The best solution would be to have
these default values in a QSettings based class which the user could
modify graphically. But this was too much work at the time of this
change, so I just decided to detect any change to the ui file and reset
the user session in this case.

So the question now is why are these file touched at all? If you don't
touch it by hand which program does it? Maybe it's a problem of "make
install"?

For the purpose of bug hunting, I touched it by hand (via "touch stdcontext.inc").

The real problem occurs whenever some menu or toolbar item is added or modified, which happens frequently enough.

My question is: Why do you need to reset the settings? What happens if I edit stdcontext and settings are not reset?

In this case nothing. The problem is mainly on toolbar settings AFAIR.
So the easy solution is to remove "stdcontext.inc" and other files from the test in the uifiles loop. You cannot ignore all include file because the user may have defined a specific name for his ui file.

Abdel.

Reply via email to