Your message dated Mon, 14 Oct 2024 01:14:07 +0200 with message-id <cadstwjk7mmgq-p6qki0rebj7cbagcjzaj6am5ma9euxfehw...@mail.gmail.com> and subject line Qt4 was removed a long time ago has caused the Debian Bug report #773451, regarding libqtcore4:amd64: QRectF.setTop() and co do not play nicely with non-numbers (NaN and INF) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 773451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773451 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libqtcore4 Version: 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1 Severity: normal Hello, I've been hit by a bug where I have essentially this: (ret is QRectF) ret.setTop(0.1); ret.setBottom(-0.1); o << "Fxd: " << ret.height() << " -> " << ret.top() << " | " << ret.bottom() << endl; The output line shows that, if you have a NaN in the coordinates, then the line above DOES NOT set the top and bottom coordinates (they stay at NaN): Fxd: nan -> nan | nan Looking at the code for setTop, it all makes sense, as the pro inline void QRectF::setTop(qreal pos) { qreal diff = pos - yp; yp += diff; h -= diff; } However, this is very confusing at best... Looking at the documentation, calling moveTop and then setBottom may be smarter, but, it really should just work... Best regards, Vincent -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libqtcore4:amd64 depends on: ii libc6 2.19-13 ii libgcc1 1:4.9.2-8 ii libglib2.0-0 2.42.1-1 ii libstdc++6 4.9.2-8 ii multiarch-support 2.19-13 ii qtcore4-l10n 4:4.8.6+git64-g5dc8b2b+dfsg-2 ii zlib1g 1:1.2.8.dfsg-2+b1 libqtcore4:amd64 recommends no packages. Versions of packages libqtcore4:amd64 suggests: ii libicu52 52.1-6 ii libthai0 0.1.21-1 -- no debconf information
--- End Message ---
--- Begin Message ---closing old bugs for removed package
--- End Message ---

