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

Bug#593626: marked as done ("printer" icon too large when loaded from gnome icon theme (minimal source sample included))



Your message dated Sat, 07 Mar 2020 23:24:03 +0000
with message-id <E1jAinb-000BEy-4i@fasolo.debian.org>
and subject line Bug#953294: Removed package(s) from unstable
has caused the Debian Bug report #593626,
regarding "printer" icon too large when loaded from gnome icon theme (minimal source sample included)
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.)


-- 
593626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593626
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt4-dev
Version: 4:4.6.3-1
Severity: normal

--- Please enter the report below this line. ---
I get an icon which is too large when loading the printer icon from the gnome 
default theme. I'm asking for a 64x64 icon but get 256x256. 

Source code:

#include <QtGui/QApplication>
#include <QtGui/QIcon>
#include <cstdio>
int main(int argc, char ** argv)
{
  QApplication* app = new QApplication(argc, argv);
  QIcon::setThemeName("gnome");
  QIcon iconPrinter = QIcon::fromTheme("printer");
  QPixmap picPrinter = iconPrinter.pixmap(64);
  printf("Pixmap size is %d x %d.\n",picPrinter.width(),picPrinter.height());
}

Compile with: g++ -I/usr/include/qt4/ -lQtCore -lQtGui testcode.cpp

I get the result: "Pixmap size is 256 x 256."

While documentation promises...
"QPixmap QIcon::pixmap ( int extent, Mode mode = Normal, State state = Off ) 
const [...] Returns a pixmap of size QSize(extent, extent). The pixmap might 
be smaller than requested, but never larger."

--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-4-amd64

Debian Release: squeeze/sid
   50 unstable        ftp.uni-kl.de 
   50 unstable        ftp.de.debian.org 
  150 testing         security.eu.debian.org 
  150 testing         ftp.uni-kl.de 
  150 testing         ftp.de.debian.org 
  150 stable          security.eu.debian.org 
  150 stable          ftp.uni-kl.de 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-==============
libc6                       (>= 2.3) | 2.11.2-2
libgcc1                 (>= 1:4.1.1) | 1:4.4.4-8
libqt4-dbus            (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-qt3support      (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-xml             (= 4:4.6.3-1) | 4:4.6.3-1
libqtcore4             (= 4:4.6.3-1) | 4:4.6.3-1
libqtgui4              (= 4:4.6.3-1) | 4:4.6.3-1
libstdc++6                (>= 4.2.1) | 4.4.4-8
zlib1g                  (>= 1:1.1.4) | 1:1.2.3.4.dfsg-3
libqt4-network         (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-svg             (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-webkit          (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-sql             (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-script          (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-scripttools     (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-xmlpatterns     (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-designer        (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-help            (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-assistant       (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-test            (= 4:4.6.3-1) | 4:4.6.3-1
libqt4-multimedia      (= 4:4.6.3-1) | 4:4.6.3-1
qt4-qmake              (= 4:4.6.3-1) | 4:4.6.3-1


Recommends                (Version) | Installed
===================================-+-==============
libqt4-opengl-dev     (= 4:4.6.3-1) | 4:4.6.3-1


Suggests                (Version) | Installed
=================================-+-===========
qt4-dev-tools                     | 4:4.6.3-1
qt4-doc                           | 
libmysqlclient-dev                | 5.1.49-1
libsqlite0-dev                    | 2.8.17-6
libsqlite3-dev                    | 3.7.0-1.1
libpq-dev                         | 
unixodbc-dev                      | 
firebird2.1-dev                   | 




Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---
--- Begin Message ---
Version: 4:4.8.7+dfsg-20+rm

Dear submitter,

as the package qt4-x11 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/953294

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: