Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. ##############################
  2. Test methodology
  3. ##############################
  4. - Note the values in settings.jsom
  5. - Open Discord
  6. - Shut it down
  7. - Note the new values of settings.json if they have changed on their own.
  8.  
  9. ##############################
  10. Findings
  11. ##############################
  12. If all my screens are at 100% or 150% text scaling: No bug
  13. 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)
  14. If Discord moves off screen entirely, it will reappear on the left-most screen on next startup.
  15.  
  16. ##############################
  17. Reproduction setup
  18. ##############################
  19. Basic description:
  20. Main screen is 2160p with two 1080p screens to the right of it with no Y axis offset.
  21.  
  22.  
  23. Details:
  24. Screen #1:
  25. Resolution: 3840x2160
  26. Offset: 0x0
  27. Text scale: 150% (Recommended)
  28. Notes: Set as main screen
  29. Screen #2:
  30. Resolution: 1920x1080
  31. Offset: 3840x0
  32. Text scale: 100% (Recommended)
  33. Notes: Contains the notifications section
  34. Screen #3:
  35. Resolution: 3840x2160
  36. Offset: 5760x0
  37. Text scale: 100% (Recommended)
  38.  
  39.  
  40. ##############################
  41. Screen #1 behavior: Expected
  42. ##############################
  43. Starting from the default values for settings.json
  44.  
  45. {
  46. "IS_MAXIMIZED": false,
  47. "IS_MINIMIZED": false,
  48. "WINDOW_BOUNDS": {
  49. "x": 640,
  50. "y": 340,
  51. "width": 1280,
  52. "height": 720
  53. },
  54. "trayBalloonShown": true
  55. }
  56.  
  57. Moved a few pixels on screen #1 (2160p)
  58. Shutting down the application and re-opening it keeps these values intact as expected.
  59.  
  60. {
  61. "IS_MAXIMIZED": false,
  62. "IS_MINIMIZED": false,
  63. "WINDOW_BOUNDS": {
  64. "x": 670,
  65. "y": 345,
  66. "width": 1281,
  67. "height": 721
  68. },
  69. "trayBalloonShown": true
  70. }
  71.  
  72. ##############################
  73. Screen #2 behavior: Buggy
  74. ##############################
  75.  
  76. Moved window to Screen #2 (1080p)
  77.  
  78. {
  79. "IS_MAXIMIZED": false,
  80. "IS_MINIMIZED": false,
  81. "WINDOW_BOUNDS": {
  82. "x": 2724,
  83. "y": 166,
  84. "width": 1280,
  85. "height": 720
  86. },
  87. "trayBalloonShown": true
  88. }
  89.  
  90. Shut down application and re-opened it, it has now moved by 82x83 pixels
  91.  
  92. {
  93. "IS_MAXIMIZED": false,
  94. "IS_MINIMIZED": false,
  95. "WINDOW_BOUNDS": {
  96. "x": 2806,
  97. "y": 249,
  98. "width": 1280,
  99. "height": 720
  100. },
  101. "trayBalloonShown": true
  102. }
  103.  
  104. Shut down application and re-opened it, it has now moved by 123x124 pixels, and was enlarged by 0x1 pixels
  105.  
  106. {
  107. "IS_MAXIMIZED": false,
  108. "IS_MINIMIZED": false,
  109. "WINDOW_BOUNDS": {
  110. "x": 2929,
  111. "y": 373,
  112. "width": 1280,
  113. "height": 721
  114. },
  115. "trayBalloonShown": true
  116. }
  117.  
  118. Shut down application and re-opened it, it has now moved by 184x186 pixels, and was enlarged by 1x2 pixels
  119.  
  120. {
  121. "IS_MAXIMIZED": false,
  122. "IS_MINIMIZED": false,
  123. "WINDOW_BOUNDS": {
  124. "x": 3113,
  125. "y": 559,
  126. "width": 1281,
  127. "height": 723
  128. },
  129. "trayBalloonShown": true
  130. }
  131.  
  132.  
  133. ##############################
  134. Screen #3 behavior: Unusable
  135. ##############################
  136.  
  137. Reset to defaults and moved application window to screen #3 (1080p)
  138.  
  139. {
  140. "IS_MAXIMIZED": false,
  141. "IS_MINIMIZED": false,
  142. "WINDOW_BOUNDS": {
  143. "x": 4918,
  144. "y": 157,
  145. "width": 1280,
  146. "height": 720
  147. },
  148. "trayBalloonShown": true
  149. }
  150.  
  151. Shut down application and re-opened it, it has now moved by 1179x78 pixels, and was enlarged by 0x1 pixels
  152.  
  153. {
  154. "IS_MAXIMIZED": false,
  155. "IS_MINIMIZED": false,
  156. "WINDOW_BOUNDS": {
  157. "x": 6097,
  158. "y": 235,
  159. "width": 1280,
  160. "height": 721
  161. },
  162. "trayBalloonShown": true
  163. }
  164.  
  165. Shut down application and re-opened it, it has now moved by 1768x117 pixels, and was enlarged by 641x363 pixels.
  166. It is now fully off screen.
  167.  
  168. {
  169. "IS_MAXIMIZED": false,
  170. "IS_MINIMIZED": false,
  171. "WINDOW_BOUNDS": {
  172. "x": 7865,
  173. "y": 352,
  174. "width": 1921,
  175. "height": 1084
  176. },
  177. "trayBalloonShown": true
  178. }
  179.  
  180. Shut down application and re-opened it. Discord detects it is trying to open off screen and resets settings.
  181.  
  182. {
  183. "IS_MAXIMIZED": false,
  184. "IS_MINIMIZED": false,
  185. "WINDOW_BOUNDS": {
  186. "x": 640,
  187. "y": 340,
  188. "width": 1280,
  189. "height": 720
  190. },
  191. "trayBalloonShown": true
  192. }
  193.  
  194. ##############################
  195. Screen #1 with large X values
  196. ##############################
  197. Set x to 2159.
  198.  
  199. {
  200. "IS_MAXIMIZED": false,
  201. "IS_MINIMIZED": false,
  202. "WINDOW_BOUNDS": {
  203. "x": 2159,
  204. "y": 12,
  205. "width": 941,
  206. "height": 828
  207. },
  208. "trayBalloonShown": true
  209. }
  210.  
  211. Shut down and re-opened. This time the X value decreased.
  212.  
  213. {
  214. "IS_MAXIMIZED": false,
  215. "IS_MINIMIZED": false,
  216. "WINDOW_BOUNDS": {
  217. "x": 1958,
  218. "y": 18,
  219. "width": 1416,
  220. "height": 1244
  221. },
  222. "trayBalloonShown": true
  223. }
  224.  
  225. Set x to 2161.
  226.  
  227. {
  228. "IS_MAXIMIZED": false,
  229. "IS_MINIMIZED": false,
  230. "WINDOW_BOUNDS": {
  231. "x": 2161,
  232. "y": 18,
  233. "width": 1416,
  234. "height": 1244
  235. },
  236. "trayBalloonShown": true
  237. }
  238.  
  239. Shut down and re-opened. It decreased again by a similar amount.
  240.  
  241. {
  242. "IS_MAXIMIZED": false,
  243. "IS_MINIMIZED": false,
  244. "WINDOW_BOUNDS": {
  245. "x": 1961,
  246. "y": 27,
  247. "width": 1417,
  248. "height": 1244
  249. },
  250. "trayBalloonShown": true
  251. }
  252.  
  253. Changed screen#1 text scaling to 100%. All buggy behavior has ceased.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement