Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Bug: Multi-monitor Issue

forums forums SQLyog SQLyog: Bugs / Feature Requests Bug: Multi-monitor Issue

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #9349
      Tim Browse
      Member

      Just a small bug: on some multi-monitor systems, the main window appears in the wrong place on startup.

      This happens (I think) because my primary monitor is on the right, and the secondary monitor is on the left. This means that the x-coords for the 2nd monitor are all negative.

      As I normally have SQLyog maximised on the 2ndary monitor, when I start it up, it appears as a tall thin window on the left hand side of the primary display.

      From my own experience (i.e. I had this problem in one of my own programs) this could come from using the wrong message crackers to extract the window co-ordinates. The co-ords are interpreted as unsigned numbers when they are actually signed.

      Or your code could just be checking for negative co-ords and assuming they are illegal – not a safe or true assumption. (In my own program I enumerate the desktop display areas and ensure that the window area falls within the valid display area – if it doesn't, I force it to the closest display.)

      HTH

    • #19719
      Ritesh
      Member

      Thanks for your report.

      I have added it in our bug list.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.