Modify

Opened 6 years ago

Closed 5 years ago

#10645 closed Bug Report - General (Won't Fix)

Screen setup wizard bottom right arrow not visible

Reported by: Yves Cayer <ycayer@…> Owned by: stuartm
Priority: minor Milestone: 0.27
Component: MythTV - General Version: 0.25-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When entering the screen setup wizard for the first time, the bottom right arrow is not visible. It is off screen to the right. While it can be moved up and left and positioned to the screen dimensions, this results in the wrong screen size.

If the screen setup wizard is entered a second time, the bottom right arrow is visible.

The reason for this behaviour is because the image for the arrows get loaded in a background thread and are not ready when the dimensions are extracted, resulting is 0,0 size. This effectively positions the bottom right arrow with its top left corned as the origin instead of its bottom right, resulting in an error in x and y equivalent to the size of the arrow image.

I'm attaching a patch with what I think is a good workaround. When the bottom right arrow is selected, it checks for a zero size arrow and re-initializes it. On my systems, the arrow was always positioned correctly with the patch applied.

Perhaps there's a way to have the images load in the current thread, but I haven't found anything yet.

Attachments (1)

screenwizard.patch (775 bytes) - added by Yves Cayer <ycayer@…> 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by Yves Cayer <ycayer@…>

comment:1 Changed 5 years ago by beirdo

  • Owner set to stuartm
  • Status changed from new to assigned

comment:2 Changed 5 years ago by wagnerrp

  • Milestone changed from unknown to 0.27
  • Resolution set to Won't Fix
  • Status changed from assigned to closed

The arrows have been removed, in favor of a re-sizable copy of the theme preview image, so this fix is no longer applicable.

See 690f333e59205de8b582992a894d63695676b41e

Add Comment

Modify Ticket

Action
as closed The owner will remain stuartm.
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.