Modify

Ticket #10534 (closed Bug Report - General: Fixed)

Opened 14 months ago

Last modified 14 months ago

Delays in Wath-Recordings-Screen

Reported by: t.brackertz@… Owned by: stichnot
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

As mentioned here before (see http://www.gossamer-threads.com/lists/mythtv/users/508788) there are issues with 0.25 taking much time to show the Wath-Recordings-Screen or to change the group filter:

  1. As all possible strings are created in the beginning start up takes a lot of time on slow machines. A path for lazy string creation is being developed, see http://code.mythtv.org/trac/ticket/10161
  1. On some machines (even on fast ones) the creation of each strings takes very much time.

Regarding the second issue there are some observations that changing the displayed Date-Time-Format could help. http://www.gossamer-threads.com/lists/mythtv/users/508860#508860 There are also some ideas that slow implementations of QDateTime are to blame http://www.gossamer-threads.com/lists/mythtv/users/508829#508829

On my system (Core i3, Xubuntu 11.10) I found the following behaviour:

  • Showing the Wath-Recordings-Screen or changing the group filter is extremly slow directly after starting mythfrontend (second issue)
  • Then I go to "Konfiguration->Erscheinungsbild" (probably configuration->appearence on englisch systems). Then save. It doesn't matter if anything is changed or not.
  • Then the theme gets reloaded (screen is flickering for less than a second and cursor jumps)
  • Now the Watch-Recordings-Screen is fast and stays fast until the frontend is quit.
  • If I restart the frontend it is slow again.

So the timeformat doesn't seem to matter at all. But the reload of the theme seems to do some initialization which speeds up the string creation. Therefore it seems to be a mythtv-Bug.

I attached the log of mythfrontend. As the file is very big I marked when I started the following steps:

  • Startup mythfrontend. Search for "Startup maythfrontend"
  • Go to Watch-Recordings-Screen. Search for "Go to Watch-Recordings-Screen 1st time"
  • Change group filter. Search for "Change group filter 1st time"
  • Go through Appearance Setup pages. Search for "Go through Appearance Setup pages"
  • Go to Watch-Recordings-Screen. Search for "Go to Watch-Recordings-Screen 2nd time"
  • Change group filter. Search for "Change group filter 2nd time"

Attachments

Change History

comment:1 Changed 14 months ago by stichnot

  • Status changed from new to infoneeded_new
  • Version changed from Unspecified to Master Head
  • Milestone changed from unknown to 0.25

Don't forget to upload the attachment. You may need to gzip it if it's too large.

comment:2 Changed 14 months ago by t.brackertz@…

Logfile too big to attach. Can be downloaded from: http://die-radioretter.de/Kram/mythfrontend.20120331211833.5974.log.zip

comment:3 Changed 14 months ago by stichnot

  • Owner set to stichnot
  • Status changed from infoneeded_new to assigned

comment:4 Changed 14 months ago by wagnerrp

  • Status changed from assigned to closed
  • Resolution set to Fixed

Fixes #10534. Reenable the DB settings cache after the schema check.

If mytharchive was the last plugin loaded, it accidentally left the DB settings cache disabled. This could be very noticeable when loading the Watch Recordings screen.

Branch: master
Changeset: bbd08800eb4f458613f9b5f52698a1951f934e2e

comment:5 Changed 14 months ago by t.brackertz@…

Yes, this fixes the bug. Thanks a lot.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.