[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2020-05-09 Thread teo1978
This is not fixed on Ubuntu 16.04 For fuck's sake! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-07-05 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:17.10.15 --- update-manager (1:17.10.15) artful; urgency=medium * Block style context changed signal while enforcing the main window's constant size. Thanks to Thomas Waldmann and Sebastien Bacher for the initial analysis

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-07-04 Thread Mathieu Trudel-Lapierre
Verification-done on artful, using update-manager 1:17.10.15: Verified that the application does not take 100% CPU while waiting for input at the "computer needs restart" dialog; and the expected code changes are applied on the python modules on disk. Applying updates completed without issues.

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-20 Thread Robie Basak
Hello Giuseppe, or anyone else affected, Accepted update-manager into artful-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update- manager/1:17.10.15 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-18 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:18.04.11.2 --- update-manager (1:18.04.11.2) bionic; urgency=medium * Fix my embarassing typo that makes update-manager report crashes, when instanciating the "reboot" dialog and mangling signals. (LP: #1774131)

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-13 Thread Mathieu Trudel-Lapierre
Verification-done with update-manager/1:18.04.11.2 on bionic: Verified that the restart CPU does not show 100% CPU usage, and it does show without crashing update-manager. AFAICT this is fixed correctly. ** Tags removed: verification-needed verification-needed-bionic ** Tags added:

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-06-12 Thread Giuseppe D'Angelo
Hi, Unfortunately I'm still on 16.04, waiting for 18.04.1 to upgrade, so I can't test the proposed right now... Thanks for all the effort at fixing this annoyance! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-31 Thread Brian Murray
Hello Giuseppe, or anyone else affected, Accepted update-manager into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update- manager/1:18.04.11.1 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Launchpad Bug Tracker
This bug was fixed in the package update-manager - 1:18.10.1 --- update-manager (1:18.10.1) cosmic; urgency=medium * Block style context changed signal while enforcing the main window's constant size. Thanks to Thomas Waldmann and Sebastien Bacher for the initial analysis

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Mathieu Trudel-Lapierre
** Changed in: update-manager (Ubuntu) Assignee: Adam Conrad (adconrad) => Mathieu Trudel-Lapierre (cyphermox) ** Changed in: update-manager (Ubuntu Bionic) Assignee: Adam Conrad (adconrad) => Mathieu Trudel-Lapierre (cyphermox) ** Changed in: update-manager (Ubuntu) Status:

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-core-dev/update-manager/bionic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-05-28 Thread Launchpad Bug Tracker
** Branch linked: lp:update-manager -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications about this bug

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2018-04-20 Thread Brian Murray
** Tags added: rls-bb-notfixing -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications about this bug go

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-11-09 Thread Steve Langasek
** Also affects: update-manager (Ubuntu Bionic) Importance: High Assignee: Adam Conrad (adconrad) Status: Confirmed ** Tags removed: rls-bb-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-11-04 Thread Thomas Waldmann
This issue has priority "high" and is now over one year old. A fix is known (see my post above) - I apply this diff each time a update-manager update overwrites the patched version on my laptop and it works ok for me since I wrote it. So, can we have this finally fixed, please? In all supported

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-09-29 Thread Francis Ginther
** Tags added: id-597a83347da07175ddd93722 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications about

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-09-11 Thread Brian Murray
** Tags added: rls-aa-notfixing rls-bb-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-08-28 Thread Sebastien Bacher
some guessing work/suggestion here, resize_to_standard_width() does ctx = self.get_style_context() size = ctx.get_property("font-size", Gtk.StateFlags.NORMAL) that's likely to create a "changed" event and trigger the loop the usual way to fix those is to call

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-08-25 Thread Brian Murray
** This bug is no longer a duplicate of bug 1622510 update-manager popup consumes a lot of CPU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-08-25 Thread Brain
*** This bug is a duplicate of bug 1622510 *** https://bugs.launchpad.net/bugs/1622510 ** This bug has been marked a duplicate of bug 1622510 update-manager popup consumes a lot of CPU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-20 Thread Thomas Waldmann
this is the easiest way to fix the issue (not perfect though, dialog box looks slightly different afterwards): --- UpdateManager.py.orig 2017-07-20 22:23:11.643707331 +0200 +++ UpdateManager.py2017-07-20 22:24:03.048405983 +0200 @@ -88,9 +88,10 @@

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-14 Thread Giuseppe D'Angelo
Hi Brian, do you know some way to get a good backtrace for your purpose? Note that this is 100% reproducible, just run update manager, and even if it tells you that the system is up to date, switch window focus to somewhere else to trigger the 8-10% CPU usage. A quick gdb -p PID and bt doesn't

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-14 Thread Brian Murray
I meant backtrace not stacktrace. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications about this bug go

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-14 Thread Brian Murray
Thomas if you could get a stacktrace of update-manager so we can figure out what it is doing that would be helpful. If we can fix it then yes we would fix it in stable releases, including Ubuntu 16.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-07-12 Thread Thomas Waldmann
@brian I also have intel gfx (haswell generation integrated gfx) in my laptop and this issue is happening about every day for me (each time update-manager waits for my final click - which is kind of superfluous anyway for cases where updates worked flawlessly). So I am wondering whether this gets

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-22 Thread Dimitri John Ledkov
** Tags removed: rls-aa-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications about this bug go

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-22 Thread Steve Langasek
** Changed in: update-manager (Ubuntu Artful) Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox) ** Changed in: update-manager (Ubuntu Artful) Assignee: Mathieu Trudel-Lapierre (cyphermox) => Adam Conrad (adconrad) -- You received this bug notification because you are a

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-12 Thread Brian Murray
I tried recreating this on zesty with update-manager version 1:17.04.3 and I did not notice update-manager using CPU. One other difference from the original reporter is that I am using an Intel graphics adapter. I'll keep testing though. -- You received this bug notification because you are a

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-06-09 Thread Brian Murray
** Also affects: update-manager (Ubuntu Artful) Importance: High Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-31 Thread Jarno Suni
Another oddity with Software Updater is Bug #1332543;at least in Trusty it may still appear. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-30 Thread Thomas Waldmann
I found out something interesting right now: - when the update manager dialogue box is the selected window, it does not suck a lot of cpu - but when you select something else (an icon, another window, does not matter), cpu usage of update-manager, compiz and xorg jumps upwards (see screenshot in

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-29 Thread Giuseppe D'Angelo
In that case, X usage goes down, and of course compiz isn't there any more, but the dialog is still eating CPU. I don't know anything about GTK nor python, so I don't really know how to track this down, otherwise I would've already done that... -- You received this bug notification because you

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-25 Thread Jarno Suni
Could you try disabling compiz, if it has an effect? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-24 Thread Giuseppe D'Angelo
Yes. It's likely caused by some broken code calling update() in a loop or something like that. Yet, we're looking at a 30-40% aggregated between the app, X and compiz. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-24 Thread Jarno Suni
Do CPU usage of Xorg and compiz decrease a lot, too, when you close the dialog? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-24 Thread Thomas Waldmann
Attached a screenshot with proof. When I close the dialogue, the cpu usage seen on the screenshot vanishes, so it is definitely the update-manager dialogue causing this. This is a real annoyance and I am asking myself how many kWh get burned down every day without reason due to this. **

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-23 Thread Jarno Suni
I do not notice CPU usage of "computer is up to date" dialogue box. Maybe it is some hardware driver that uses the CPU power? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-05-01 Thread Brian Murray
** Tags removed: rls-z-incoming ** Tags added: rls-aa-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-02-17 Thread Alberto Salvia Novella
** Changed in: update-manager (Ubuntu) Importance: Undecided => High ** Also affects: hundredpapercuts Importance: Undecided Status: New ** Changed in: hundredpapercuts Status: New => Confirmed ** Changed in: hundredpapercuts Importance: Undecided => High -- You

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-02-17 Thread Thomas Waldmann
Also affects me and is not limited to the "needs to restart" dialogue box. It also happens for the "computer is up to date" dialogue box shown after applying updates. Maybe for ANY such dialogue box? Please fix, this is a real annoyance to having to click on "OK" just to stop the CPU fan

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-01-27 Thread Brian Murray
** Tags added: rls-z-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly eats CPU To manage notifications about this bug go to:

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-01-25 Thread fugounashi
can confirm this bug in 16.04. noticed a few months ago and still present as of now -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180 Title: "The computer needs to restart" dialog constantly

[Bug 1637180] Re: "The computer needs to restart" dialog constantly eats CPU

2017-01-25 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-manager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1637180