Menu

#76 Application error navigating database displat

None
closed-fixed
None
5
2018-08-28
2014-01-28
No

I kept getting an "application error" box popup as I was playing with the database games panels. Could not replicate reliably but I think I have it now

It seems to happen when a highlighted game disappears from view after some transition and returning to the games list view; for example toggle scroll bars from vertical to horizontal

Here are a few examples

  1. load a game file and make sure the gamelist window cannot show all games
  2. make sure the gamelist has vertical scroll bar
  3. doube-click the bottom game in the list
  4. hit the horiz scollbar icon

When the window gets redrawn for the new scroll bar, there is no room to show the highlighted game (it is now offscreen) and an error is emitted when trying to change the background of the selected game

The same effect can occur when transitioning from players or events or sites back to Games; although this might seem unlikely user behaviour I've got a better example to come

  1. stretch the games window downwards and choose the last game shown in the window
  2. click on the players or event or sites tab
  3. adjust the size of the windows upwards (make it smaller)
  4. click the Games tab and the error will be emitted

Better example

  1. show games and maximise the application
  2. double-click the last game shown
  3. change to the players tab
  4. unmaximise the application
  5. return to the Games tab and an error should be emitted

Same thing happens when passing between database and game displays if the windows is adjusted while on the game display

In fact it happens anytime when the window is reduced to excluded the highlighted game

  1. highlight a game at the bottom of the list
  2. drag the bottom window edge up past the selected game - error should popup

Discussion

  • Gregor Cramer

    Gregor Cramer - 2014-01-29

    Many thanks for your detailed description, luckely this problem alwasy occurs at the same place. Bug is fixed, please wait for revision #1001, I'm still testing.

     
  • Gregor Cramer

    Gregor Cramer - 2014-01-29
    • status: open --> closed-fixed
    • assigned_to: Gregor Cramer
     

Log in to post a comment.