[Bug 584175] Re: the applet is wasting memory

2011-11-01 Thread Lars Uebernickel
*** This bug is a duplicate of bug 323322 ***
https://bugs.launchpad.net/bugs/323322

** This bug has been marked a duplicate of bug 323322
   Do not auto-start the python applet

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/584175

Title:
  the applet is wasting memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/584175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2011-08-22 Thread Jérôme
With Xubuntu natty on amd64 the applet is using :
- 10 MB of shared memory
- 13 MB of specific memory

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/584175

Title:
  the applet is wasting memory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/584175/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2011-06-02 Thread Jérôme
In case of difficulties to write a C program for the displaying the
icon, trapping the D-Bus calls and launching the right python program,
why not porting the whole applet in C ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/584175

Title:
  the applet is wasting memory

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-28 Thread Tim Waugh
Jerome: The point is that in the case where there are no print jobs and
no printers (and therefore no icon), it would just be a case of having a
simple C program.

There could be a D-Bus method to invoke the jobviewer icon program
(running as Python for the first time that session) when there are jobs
or state-reasons, and this would be fairly easy to code up.

It would be a fair amount more work to have the icon running entirely in
C (the application would need to maintain state and examine IPP
attributes; i.e. it would now need to link to libcups whereas previously
it wouldn't), but maybe that's the way to go.

It would be nice to at least have a proof of concept along with some
numbers showing exactly how much less memory it uses in various
different cases.

Watch out though: it's not just signals from cupsd that cause the applet
to do things, but also signals from system-config-printer-udev about
there being new printers.

What I'm saying is that the right way to do it is with D-Bus calls, and
that it isn't just trivial.

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-28 Thread Jérôme
I don't know well the underlying but it seems that it would consume 8 MB
of additionnal memory even if python is running in an other process: 15
MB of physical memory made of 7 shared (with other instances of python
?) and 8 MB specific to the applet.

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-28 Thread Tim Waugh
Till, this is more of a problem for Ubuntu than it is for Fedora, as
Fedora already has Python running elsewhere.  It would be great if you
could get a proof of concept going for this.

The C program could be a fairly simple D-Bus application, listening for
signals from CUPS and then invoking methods on session-activated D-Bus
objects provided by system-config-printer (see e.g. newprinter.py's
__main__ part in the master branch for an example of how that works).
I'm afraid I don't have the time to look at it right now.

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-27 Thread Till Kamppeter
Tim, this would have the same solution as the login speed issue with the
applet. We need a stub written in C here which calls Python programs
like the job viewer or the new printer wizard if needed.

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-22 Thread Charlie Kravetz
 Thanks for reporting this bug and any supporting documentation. Since
this bug has enough information provided for a developer to begin work,
I'm going to mark it as confirmed and let them handle it from here.
Thanks for taking the time to make Ubuntu better!


** Changed in: system-config-printer (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: system-config-printer (Ubuntu)
   Status: New => Confirmed

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-22 Thread Jérôme
Shared memory is ~7MB.

This makes 15-7 = 8 MB of physical memory which is specific for this
sleeping applet !

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 584175] Re: the applet is wasting memory

2010-05-22 Thread Jérôme

** Attachment added: "BootDmesg.txt"
   http://launchpadlibrarian.net/48917133/BootDmesg.txt

** Attachment added: "CupsErrorLog.txt"
   http://launchpadlibrarian.net/48917134/CupsErrorLog.txt

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/48917135/Dependencies.txt

** Attachment added: "Locale.txt"
   http://launchpadlibrarian.net/48917136/Locale.txt

** Attachment added: "Lspci.txt"
   http://launchpadlibrarian.net/48917137/Lspci.txt

** Attachment added: "PrintingPackages.txt"
   http://launchpadlibrarian.net/48917138/PrintingPackages.txt

** Attachment added: "ProcCpuinfo.txt"
   http://launchpadlibrarian.net/48917139/ProcCpuinfo.txt

** Attachment added: "ProcInterrupts.txt"
   http://launchpadlibrarian.net/48917140/ProcInterrupts.txt

** Attachment added: "ProcModules.txt"
   http://launchpadlibrarian.net/48917141/ProcModules.txt

** Attachment added: "UdevDb.txt"
   http://launchpadlibrarian.net/48917142/UdevDb.txt

** Attachment added: "UdevLog.txt"
   http://launchpadlibrarian.net/48917143/UdevLog.txt

-- 
the applet is wasting memory
https://bugs.launchpad.net/bugs/584175
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs