[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#773451: marked as done (libqtcore4:amd64: QRectF.setTop() and co do not play nicely with non-numbers (NaN and INF))



Your message dated Sun, 04 Aug 2024 10:02:39 -0700
with message-id <6e026f41062fe34c56aaf7fa9ef69b8b@carsoncit.xyz>
and subject line Greeting
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 owner@bugs.debian.org
immediately.)


-- 
773451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773451
Debian Bug Tracking System
Contact owner@bugs.debian.org 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 ---


--
Greeting,

I have access to very vital information that can be used to
move huge amounts of money.

If it was possible for me to do it alone I would not
have bothered contacting you. Ultimately I need you to play an
important role in the completion of this business transaction.

Regards,
Mr Alexander Bulyanda

--- End Message ---

Reply to: