Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##############################
- Test methodology
- ##############################
- - Note the values in settings.jsom
- - Open Discord
- - Shut it down
- - Note the new values of settings.json if they have changed on their own.
- ##############################
- Findings
- ##############################
- If all my screens are at 100% or 150% text scaling: No bug
- If any of my screens has a different text scaling, some of the screens will experience Discord window offset at startup. (Tested on all screens by setting them to 150% text scaling)
- If Discord moves off screen entirely, it will reappear on the left-most screen on next startup.
- ##############################
- Reproduction setup
- ##############################
- Basic description:
- Main screen is 2160p with two 1080p screens to the right of it with no Y axis offset.
- Details:
- Screen #1:
- Resolution: 3840x2160
- Offset: 0x0
- Text scale: 150% (Recommended)
- Notes: Set as main screen
- Screen #2:
- Resolution: 1920x1080
- Offset: 3840x0
- Text scale: 100% (Recommended)
- Notes: Contains the notifications section
- Screen #3:
- Resolution: 3840x2160
- Offset: 5760x0
- Text scale: 100% (Recommended)
- ##############################
- Screen #1 behavior: Expected
- ##############################
- Starting from the default values for settings.json
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 640,
- "y": 340,
- "width": 1280,
- "height": 720
- },
- "trayBalloonShown": true
- }
- Moved a few pixels on screen #1 (2160p)
- Shutting down the application and re-opening it keeps these values intact as expected.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 670,
- "y": 345,
- "width": 1281,
- "height": 721
- },
- "trayBalloonShown": true
- }
- ##############################
- Screen #2 behavior: Buggy
- ##############################
- Moved window to Screen #2 (1080p)
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 2724,
- "y": 166,
- "width": 1280,
- "height": 720
- },
- "trayBalloonShown": true
- }
- Shut down application and re-opened it, it has now moved by 82x83 pixels
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 2806,
- "y": 249,
- "width": 1280,
- "height": 720
- },
- "trayBalloonShown": true
- }
- Shut down application and re-opened it, it has now moved by 123x124 pixels, and was enlarged by 0x1 pixels
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 2929,
- "y": 373,
- "width": 1280,
- "height": 721
- },
- "trayBalloonShown": true
- }
- Shut down application and re-opened it, it has now moved by 184x186 pixels, and was enlarged by 1x2 pixels
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 3113,
- "y": 559,
- "width": 1281,
- "height": 723
- },
- "trayBalloonShown": true
- }
- ##############################
- Screen #3 behavior: Unusable
- ##############################
- Reset to defaults and moved application window to screen #3 (1080p)
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 4918,
- "y": 157,
- "width": 1280,
- "height": 720
- },
- "trayBalloonShown": true
- }
- Shut down application and re-opened it, it has now moved by 1179x78 pixels, and was enlarged by 0x1 pixels
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 6097,
- "y": 235,
- "width": 1280,
- "height": 721
- },
- "trayBalloonShown": true
- }
- Shut down application and re-opened it, it has now moved by 1768x117 pixels, and was enlarged by 641x363 pixels.
- It is now fully off screen.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 7865,
- "y": 352,
- "width": 1921,
- "height": 1084
- },
- "trayBalloonShown": true
- }
- Shut down application and re-opened it. Discord detects it is trying to open off screen and resets settings.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 640,
- "y": 340,
- "width": 1280,
- "height": 720
- },
- "trayBalloonShown": true
- }
- ##############################
- Screen #1 with large X values
- ##############################
- Set x to 2159.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 2159,
- "y": 12,
- "width": 941,
- "height": 828
- },
- "trayBalloonShown": true
- }
- Shut down and re-opened. This time the X value decreased.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 1958,
- "y": 18,
- "width": 1416,
- "height": 1244
- },
- "trayBalloonShown": true
- }
- Set x to 2161.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 2161,
- "y": 18,
- "width": 1416,
- "height": 1244
- },
- "trayBalloonShown": true
- }
- Shut down and re-opened. It decreased again by a similar amount.
- {
- "IS_MAXIMIZED": false,
- "IS_MINIMIZED": false,
- "WINDOW_BOUNDS": {
- "x": 1961,
- "y": 27,
- "width": 1417,
- "height": 1244
- },
- "trayBalloonShown": true
- }
- Changed screen#1 text scaling to 100%. All buggy behavior has ceased.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement