@Palo (Paul) posted a new topic, subject "Problem positioning HTMLDialog on multiple Monitors". It read:

   This bug is specific to a multi-monitor environment where the primary monitor is on the right and you are attempting to place the dialog on a monitor to the left. Closing and re-opening the dialog moves it back to the right (primary) monitor.
    
    Sketchup records the Left: position of the dialog as a negative value (as shown in the PrivatePreferences.json file) when you move the dialog to the left monitor. However, it doesn't appear to handle a negative position when opening the dialog and moves it back to the primary monitor.
    
    The old WebDialog class handles this situation properly.

So @eneroth3 (Julia Christina Eneroth) replied

    Sounds like the devs assumed negative values were always invalid, which is easy to do.
    
    If you make an issue in the issue tracker the devs can perhaps fix this: Issues · SketchUp/api-issue-tracker · GitHub

To which @Palo (Paul) replied

    Done. Thank you.

@system (system) replied

    This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.


{'source': 'discourse', 'url': 'https://forums.sketchup.com/t/problem-positioning-htmldialog-on-multiple-monitors/66981', 'title': 'Problem positioning HTMLDialog on multiple Monitors', 'views': 554, 'has_accepted_answer': False, 'word_count': 161, 'like_count': 2, 'reply_count': 1, 'participant_count': 2, 'posts': 4, 'tags': 'bug', 'author': '@Palo (Paul)', 'participants': '@Palo (Paul), @eneroth3 (Julia Christina Eneroth), @system (system)', 'image_url': [None], 'created_at': '2018-04-21T16:51:19.798Z', 'last_posted_at': '2018-10-23T22:50:13.323Z'}