Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Jürgen Spitzmüller
Andre Poenitz wrote: > > That makes the public bugtracker rather useless. > > It costs you one mail with one sentence. I'd wager a guess that not even > a 'please' would be needed. But doesn't it also cost extra ressources (on both sides)? I can imagine that multiple reports of already existing b

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Andre Poenitz
On Tue, Jul 22, 2008 at 11:58:38AM -0400, rgheck wrote: > { > // There seems to be a bug in Qt 4.3.5, at least, that causes problems with > // QFileInfo::refresh() on Linux. So we recreate the object in that case. > #if defined(__linux__) && (QT_VERSION >= 0x040300) > fi = QFileInfo(fi.absoluteFile

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Andre Poenitz
On Tue, Jul 22, 2008 at 07:57:07AM +0200, Jürgen Spitzmüller wrote: > Pavel Sanda wrote: > > no, trolltechs usually dont make the bugs public, unless you ask them for > > it. > > That makes the public bugtracker rather useless. It costs you one mail with one sentence. I'd wager a guess that not e

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Andre Poenitz
On Mon, Jul 21, 2008 at 03:15:09PM -0400, Bennett Helm wrote: > On Mon, Jul 21, 2008 at 2:43 PM, rgheck <[EMAIL PROTECTED]> wrote: > > > > > This time with the attachment. > > > > Does not work for me on Mac with Qt-4.4.0. (I only checked bibliography > >> updating.) > >> > >> OK. The bug exists

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread rgheck
Enrico Forestieri wrote: On Tue, Jul 22, 2008 at 06:05:08PM +0200, Abdelrazak Younes wrote: rgheck wrote: Presumably, 0x040300 should be changed to 0x040200, but I'm not sufficiently familiar with preprocessor stuff to know what we should do about checking for "unix". Why not

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Enrico Forestieri
On Tue, Jul 22, 2008 at 06:05:08PM +0200, Abdelrazak Younes wrote: > rgheck wrote: > > Presumably, 0x040300 should be changed to 0x040200, but I'm not > > sufficiently familiar with preprocessor stuff to know what we should > > do about checking for "unix". > > Why not '#if !defined Q_OS_WIN32'

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Jul 22, 2008 at 10:08:51AM -0400, Bennett Helm wrote: That fixes it. Running Richard's test, I get printout indicating modification times everytime I touch /tmp/testfile. Running Enrico's test2, I get nothing. Yep, that's the bug, which Richard's tes

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Abdelrazak Younes
rgheck wrote: Presumably, 0x040300 should be changed to 0x040200, but I'm not sufficiently familiar with preprocessor stuff to know what we should do about checking for "unix". Why not '#if !defined Q_OS_WIN32'? Abdel.

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread rgheck
Enrico Forestieri wrote: On Mon, Jul 21, 2008 at 12:43:30PM -0400, rgheck wrote: Bug 5075 concerns a problem with QFileInfo::lastModtime() that causes failures in graphics and bibliography updates that have been confirmed on Linux with Qt 4.3.5 and Qt 4.4.something. A fix was committed at

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread rgheck
Enrico Forestieri wrote: On Tue, Jul 22, 2008 at 10:08:51AM -0400, Bennett Helm wrote: That fixes it. Running Richard's test, I get printout indicating modification times everytime I touch /tmp/testfile. Running Enrico's test2, I get nothing. Yep, that's the bug, which Richard's test

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Enrico Forestieri
On Tue, Jul 22, 2008 at 10:08:51AM -0400, Bennett Helm wrote: > That fixes it. Running Richard's test, I get printout indicating > modification times everytime I touch /tmp/testfile. Running Enrico's test2, > I get nothing. Yep, that's the bug, which Richard's test was circumventing. I verified t

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Bennett Helm
On Tue, Jul 22, 2008 at 8:49 AM, Enrico Forestieri <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 08:21:15AM -0400, Bennett Helm wrote: > > > Thanks, Enrico; that's helping, but I now have problems linking. > > You need other options on the command line. Try locating in > /Users/bennett/lyx/

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Enrico Forestieri
On Tue, Jul 22, 2008 at 08:21:15AM -0400, Bennett Helm wrote: > Thanks, Enrico; that's helping, but I now have problems linking. You need other options on the command line. Try locating in /Users/bennett/lyx/qt-4.4-install/lib a file named QtCore.prl or QtCore.pc. If you find QtCore.prl, look at

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Enrico Forestieri
On Mon, Jul 21, 2008 at 12:43:30PM -0400, rgheck wrote: > Bug 5075 concerns a problem with QFileInfo::lastModtime() that causes > failures in graphics and bibliography updates that have been confirmed > on Linux with Qt 4.3.5 and Qt 4.4.something. A fix was committed at > r25773, with condition

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Bennett Helm
On Tue, Jul 22, 2008 at 5:12 AM, Enrico Forestieri <[EMAIL PROTECTED]> wrote: > On Mon, Jul 21, 2008 at 03:15:09PM -0400, Bennett Helm wrote: > > > I'm not setting things up right. I run: > > > > g++ -o test test.cpp -Wall -I > > /Users/bennett/lyx/qt-4.4-install/include/QtCore/ -L /usr/lib64 -lQt

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Enrico Forestieri
On Mon, Jul 21, 2008 at 02:43:52PM -0400, rgheck wrote: > This time with the attachment. This is the wrong program as the bug is circumvented. The right program is http://bugzilla.lyx.org/attachment.cgi?id=2721&action=view which I attach here for convenience. -- Enrico #include #include #incl

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-22 Thread Enrico Forestieri
On Mon, Jul 21, 2008 at 03:15:09PM -0400, Bennett Helm wrote: > I'm not setting things up right. I run: > > g++ -o test test.cpp -Wall -I > /Users/bennett/lyx/qt-4.4-install/include/QtCore/ -L /usr/lib64 -lQtCore > > and get many instances of: > > In file included from > /Users/bennett/lyx/qt-4

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > no, trolltechs usually dont make the bugs public, unless you ask them for > it. That makes the public bugtracker rather useless. Jürgen

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Bennett Helm
On Mon, Jul 21, 2008 at 4:44 PM, rgheck <[EMAIL PROTECTED]> wrote: > Bennett Helm wrote: > >> On Mon, Jul 21, 2008 at 2:43 PM, rgheck <[EMAIL PROTECTED]> wrote: >> >> >> >>> This time with the attachment. >>> >>> Does not work for me on Mac with Qt-4.4.0. (I only checked bibliography >>> >>>

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread rgheck
Bennett Helm wrote: On Mon, Jul 21, 2008 at 2:43 PM, rgheck <[EMAIL PROTECTED]> wrote: This time with the attachment. Does not work for me on Mac with Qt-4.4.0. (I only checked bibliography updating.) OK. The bug exists on Mac, too. See if you can verify that with the attac

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Bennett Helm
On Mon, Jul 21, 2008 at 2:43 PM, rgheck <[EMAIL PROTECTED]> wrote: > > This time with the attachment. > > Does not work for me on Mac with Qt-4.4.0. (I only checked bibliography >> updating.) >> >> OK. The bug exists on Mac, too. See if you can verify that with the > attached program. Compile vi

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread rgheck
This time with the attachment. Does not work for me on Mac with Qt-4.4.0. (I only checked bibliography updating.) OK. The bug exists on Mac, too. See if you can verify that with the attached program. Compile via g++ -o test test.cpp -Wall -I /usr/include/QtCore/ -L /usr/lib64 -lQtCore adj

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread rgheck
Bennett Helm wrote: On Mon, Jul 21, 2008 at 12:43 PM, rgheck <[EMAIL PROTECTED] > wrote: Bug 5075 concerns a problem with QFileInfo::lastModtime() that causes failures in graphics and bibliography updates that have been confirmed on Linux with Qt 4.3.5 and

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Bennett Helm
On Mon, Jul 21, 2008 at 12:43 PM, rgheck <[EMAIL PROTECTED]> wrote: > > Bug 5075 concerns a problem with QFileInfo::lastModtime() that causes > failures in graphics and bibliography updates that have been confirmed on > Linux with Qt 4.3.5 and Qt 4.4.something. A fix was committed at r25773, > wit

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Pavel Sanda
Jürgen Spitzmüller wrote: > rgheck wrote: > > I got an email back with number 220057, but it doesn't seem to be there? > > probably in some pipe ... no, trolltechs usually dont make the bugs public, unless you ask them for it. pavel

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Jürgen Spitzmüller
rgheck wrote: > I got an email back with number 220057, but it doesn't seem to be there? probably in some pipe ... Jürgen

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread rgheck
Jürgen Spitzmüller wrote: rgheck wrote: Bug 5075 concerns a problem with QFileInfo::lastModtime() that causes failures in graphics and bibliography updates that have been confirmed on Linux with Qt 4.3.5 and Qt 4.4.something. A fix was committed at r25773, with conditional compilation for Lin

Re: File ModTime Bug: Please Check Your Platforms!

2008-07-21 Thread Jürgen Spitzmüller
rgheck wrote: > Bug 5075 concerns a problem with QFileInfo::lastModtime() that causes > failures in graphics and bibliography updates that have been confirmed > on Linux with Qt 4.3.5 and Qt 4.4.something. A fix was committed at > r25773, with conditional compilation for Linux and Qt >= 4.3.0. I'd