Opened 10 years ago
Closed 9 years ago
Last modified 9 years ago
#12489 closed Bug Report - General (fixed)
masking images delays mythfrontend startup
Reported by: | Owned by: | stuartm | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28 |
Component: | MythTV - User Interface Library | Version: | 0.27.4 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
fphilips found out that masked background images in menu_ui.xml dramatically delay startup of mythfrontend (see https://github.com/fphillips/blue-abstract-wide/commit/b13747811da89c13903ea531a20919609027d738)
With every <mask> tag the mask images is loaded (and resized in trunk) which causes the delay.
Attached is a fix for it
Attachments (3)
Change History (11)
Changed 10 years ago by
Attachment: | image_mask.patch added |
---|
comment:1 Changed 10 years ago by
Owner: | set to stuartm |
---|---|
Status: | new → accepted |
Changed 10 years ago by
Attachment: | mythui.diff added |
---|
comment:2 Changed 10 years ago by
appears to be an extraneous change to mythtv/libs/libmythui/mythuitext.cpp in that last patch
comment:3 Changed 10 years ago by
starta: Correct, the last change in mythuitext.cpp is not related to this issue. When using a theme with scrolling text the CPU usage goes to 100%! That's another bug I guess. I don't understand the code well enough to fix this bug so I tried to disable scrolling whenever the screensafer is active to safe some CPU cycles (and power). As a result mythfrontend went down to 30% but X11 went up to 70% :-P Maybe somebody might want to look into it ... in the meantime I switch to a screen without scrolling ;-)
comment:4 Changed 10 years ago by
Component: | MythTV - General → MythTV - User Interface Library |
---|
comment:5 Changed 9 years ago by
Milestone: | 0.27.6 → 0.27.7 |
---|
Reschedule all tickets planned for, but not solved in time for, 0.27.6 to 0.27.7.
comment:6 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:7 Changed 9 years ago by
Milestone: | 0.27.7 → 0.28 |
---|
Fixed copy constructor