After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767426 - gnome-calendar UI is redrawn too much unnecessarily
gnome-calendar UI is redrawn too much unnecessarily
Status: RESOLVED OBSOLETE
Product: gnome-calendar
Classification: Applications
Component: User Interface
3.18.x
Other Linux
: Normal normal
: 3.26
Assigned To: GNOME Calendar maintainers
GNOME Calendar maintainers
Depends on:
Blocks:
 
 
Reported: 2016-06-09 05:41 UTC by Mohammed Sadiq
Modified: 2017-11-24 21:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GNOME calendar with Graphic updates enabled (1.02 MB, video/webm)
2016-06-09 05:41 UTC, Mohammed Sadiq
Details

Description Mohammed Sadiq 2016-06-09 05:41:57 UTC
Created attachment 329428 [details]
GNOME calendar with Graphic updates enabled

The main UI of gnome-calendar is redrawn unnecessarily. Even when the mouse movement happens on some other window, the gnome-calendar UI is updated for no reason.

For this reason, gnome-calendar really much CPU than it should.

The attached screencast is recorded using gtk inspector with Graphic updates shown.
Comment 1 Georges Basile Stavracas Neto 2016-07-08 04:53:26 UTC
Could you please confirm which version is your Calendar? I addressed a similar issue on Calendar 3.18.3 (https://git.gnome.org/browse/gnome-calendar/commit/?h=gnome-3-18&id=ee9bb968db9cf4f854c8c98bcdb7e360993e3fe4).
Comment 2 Mohammed Sadiq 2016-07-08 12:29:42 UTC
(In reply to Georges Basile Stavracas Neto from comment #1)
> Could you please confirm which version is your Calendar?

That was with GNOME calendar 3.18.2.1 which was on my probably not up to date Fedora 23 System. On GNOME calendar 3.20 it seems to be fixed.

Though there is a minor glitch in GNOME Calendar 3.20, where it redraws when mouse pointer moves from one week to another (in month view), say for example moving mouse pointer from July 8 to July 15 2016. 

There is also another minor glitch where the whole window is redrawn (and not just the dirty area) when clicking a cell (both in month and year view)
Comment 3 Christian Stadelmann 2017-01-25 19:04:08 UTC
In current flatpak master, you can notice a delay when hovering the mouse over days in year view. This might be a result of this issue.
Comment 4 Georges Basile Stavracas Neto 2017-11-24 21:46:35 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/55.