[solved] 5008: The problem with scrolling text in the "listcontrol" in 4K (1 Viewer)

123vak123

Portal Pro
December 13, 2010
194
148
Minsk
Belarus Belarus
Country flag
Hi, Catavolt. I use your skin as a reference for analyzing errors in my own skin. One nuance appeared in all skins when replacing the TV with 4K (3840x2160). In controllers of the "listcontrol" type, if you select the item at which the text fits on the screen in length, then everything is displayed normally. If you select the item at which the text scrolls, then the text is cut from the bottom. This can be seen in the screenshot on such letters as "у", "p", "ф". In the resolution of 1920x1080 everything is displayed normally. Any ideas what could be the reason?
 

Attachments

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    13,028
    9,350
    Lanzarote
    Germany Germany
    Country flag
    at which the text scrolls
    This is a "fadelabel" - maybe the given height of that fadelabel control is not correct for 4K TVs? Try to make the fadelabel height 1 - 3 pixels higher ;)
    Another question would be how good is the upscaling mechanism in your 4K TV - there may be differences between the different vendors ;)
     

    123vak123

    Portal Pro
    December 13, 2010
    194
    148
    Minsk
    Belarus Belarus
    Country flag
    This bug appears only in the controller "listcontrol". Normal fadelabel (it doesn’t matter whether the controller is in focus or not), scrolling in buttons - everything is displayed normally. I tried changing various parameters inside the "listcontrol", but to no avail.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,527
    7,219
    Kyiv
    Ukraine Ukraine
    Country flag
    This bug appears only in the controller "listcontrol"
    ListControl draw Text based on maxwidth and fontheight, look in log for lines like:
    C#:
    Trace.WriteLine("font:" + _fontName + " " + _fileName + " height:" + _fontHeight.ToString() + " " + _textureWidth.ToString() + "x" + _textureHeight.ToString());
    C#:
    Log.Debug("  Loaded font:{0} height:{1} texture:{2}x{3} chars:[{4}-{5}] miplevels:{6}", _fontName, _fontHeight, _textureWidth, _textureHeight, _StartCharacter, _EndCharacter, _textureFont.LevelCount);
    Or may be try increase height for Label control in references.xml ...
     

    123vak123

    Portal Pro
    December 13, 2010
    194
    148
    Minsk
    Belarus Belarus
    Country flag
    After replacing the TV from FullHD to 4K, there was a problem with the correct display of the selected (in focus) items with scrolling in the "listcontrol". If the line with the text fully fits in the specified boundaries, then there is no problem. If the line with the text does not fit within the given boundaries, then when selecting this element starts scrolling and the text is cut from below. I tried it on different skins, but the problem persists. Everything is displayed normally when changing the resolution to 1920x1080.
     

    Attachments

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,527
    7,219
    Kyiv
    Ukraine Ukraine
    Country flag
    @123vak123
    Clear skin cache and run MP in 4K ...
    Code:
    [2020-04-10 11:11:00,201] [Log    ] [MPMain   ] [INFO ] - Load fonts from: C:\ProgramData\Team MediaPortal\MediaPortal\Skin\MY3\fonts.xml
    [2020-04-10 11:11:00,217] [Log    ] [MPMain   ] [DEBUG] - GUIFontManager InitializeDeviceObjects()
    [2020-04-10 11:11:00,224] [Log    ] [MPMain   ] [WARN ] - GUIFont: InitializeDeviceObjects Ошибка в приложении.
    [2020-04-10 11:11:00,224] [Log    ] [MPMain   ] [DEBUG] - TextureLoader.CreateFile C:\ProgramData\Team MediaPortal\MediaPortal\Cache\MY3\fonts\debug_12.dds
    [2020-04-10 11:11:01,415] [Log    ] [MPMain   ] [DEBUG] - Saving font:debug height:12 texture:4096x2048 chars:[32-6000] miplevels:1
    ...
    PS: Delete or Disable MusicInfoHandler:
    Code:
    [2020-04-10 11:25:45,473] [Log    ] [MusicInfoHandler Album Details] [ERROR] - Exception: System.Net.WebException: Невозможно разрешить удаленное имя: 'api.fanart.tv'
       в System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
       в System.Net.WebClient.DownloadString(Uri address)
       в System.Net.WebClient.DownloadString(String address)
       в MusicInfoHandlerGUI.Downloader.DownloadJSON(String url)
       в MusicInfoHandlerGUI.FanArt.tv.FanArtTvAPI.GetAlbumThumbs(String albumMbid)
       в MusicInfoHandlerGUI.ArtistThumbScraper.GetAlbumDetails()  Message: Невозможно разрешить удаленное имя: 'api.fanart.tv'  Site   : Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef)  Source : System  Stack Trace:     в System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
       в System.Net.WebClient.DownloadString(Uri address)
       в System.Net.WebClient.DownloadString(String address)
       в MusicInfoHandlerGUI.Downloader.DownloadJSON(String url)
       в MusicInfoHandlerGUI.FanArt.tv.FanArtTvAPI.GetAlbumThumbs(String albumMbid)
       в MusicInfoHandlerGUI.ArtistThumbScraper.GetAlbumDetails()
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    JimCatMP Problems with TV Server on dual homed host. General Support 0
    M MP2 PROBLEME Standby Allgemeines Support- und Diskussionsforum 1
    404 Recording problems Television (MyTV frontend and TV-Server) 6
    F Problems with new install of MP2 Newcomers Forum 3
    A [solved] DiseqC problems after upgrade to 1.25 General Support 12
    M Problems with VFD Display after standby- Futaba DM140GINK Mini Display 0
    R Connection (api) problems with thetvdb.com General 3
    framug 1.24.0 1.25.0 pre : problem with build ? 1.24-1.26 Pre Release 89
    J Problems with 1.24 StreamedMP 19
    Rob Hexenmeister Navigation problems adding menu buttons to EPG General Support 1
    404 [solved] EPG problem after Win10 'upgrade' General Support 1
    framug [EPG] Some problems with DVB EPG Improvement Suggestions 49
    C strange tuner(?) problem TV-Cards 0
    R Problems accessing MySQL database remotely MediaPortal 1 Talk 0
    T [solved] Startup problem General 6
    G Problems with DRR MediaPortal 1 Talk 1
    rsbrux 1.23.0 MPE Manager Problem with LAV Filters Bugreports 2
    S Problem with Remote Control One-for-all Streamer Newcomers Forum 6
    joecrow Default Wide HD Xmas Theme Problem General Support 3
    K Sleep mode problem after formating General Support 2
    P IPTV Channel Problem TV-Server 0
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    nominefi Problem scanning channels. General Support 0
    E Swedish subtitles problem General 2
    G Newb trying MP2, trouble with guide data General 5

    Similar threads

    Top Bottom