Closed sayoojsamuel closed 3 years ago
The warning in the terminal is expected considering the native module grpc is not context aware as of now. Also, the app has to be launched by Super + Shift + A
keyboard shortcut (refer to this). You can also launch the assistant by right-clicking the tray icon and selecting "Launch Assistant" option.
@Melvin-Abraham so I had already tried both the methods. However, the same error is logged in the terminal.
I have added a new commit which includes addition of "Open DevTools" option in tray icon context menu. Launch the assistant as usual (via any of the two methods) and then click "Open DevTools". If there are any errors logged in the DevTools console, do specify in here...
@Melvin-Abraham DevTools
option gave a great head start. The issue was due to having dual screens with different orientation. The app defaults to open in the center of the screenspace, hence was hidden in the non visible area.
Would it be possible to align the app within one screen?
Just to get some idea about the display, can you execute electron.remote.screen.getAllDisplay()
and electron.remote.screen.getPrimaryDisplay()
in the DevTools and share the log?
Running electron.remote.screen.getPrimaryDisplay()
yields
electron.remote.screen.getPrimaryDisplay()
{id: 1881264395124802, bounds: {…}, workArea: {…}, accelerometerSupport: "unknown", monochrome: false, …}
accelerometerSupport: "unknown"
bounds: {x: 0, y: 598, width: 1366, height: 768}
colorDepth: 24
colorSpace: "{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}"
depthPerComponent: 8
id: 1881264395124802
internal: false
monochrome: false
rotation: 0
scaleFactor: 1
size: {width: 1366, height: 768}
touchSupport: "unknown"
workArea: {x: 0, y: 598, width: 1366, height: 768}
workAreaSize: {width: 1366, height: 768}
__proto__: Object
Running electron.remote.screen.getAllDisplays()
return the following
(2) [{…}, {…}]
0:
accelerometerSupport: "unknown"
bounds: {x: 0, y: 598, width: 1366, height: 768}
colorDepth: 24
colorSpace: "{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}"
depthPerComponent: 8
id: 1881264395124802
internal: false
monochrome: false
rotation: 0
scaleFactor: 1
size: {width: 1366, height: 768}
touchSupport: "unknown"
workArea: {x: 0, y: 598, width: 1366, height: 768}
workAreaSize: {width: 1366, height: 768}
__proto__: Object
1:
accelerometerSupport: "unknown"
bounds: {x: 1366, y: 0, width: 768, height: 1366}
colorDepth: 24
colorSpace: "{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}"
depthPerComponent: 8
id: 4692798670932035
internal: false
monochrome: false
rotation: 90
scaleFactor: 1
size: {width: 768, height: 1366}
touchSupport: "unknown"
workArea: {x: 1366, y: 0, width: 768, height: 1366}
workAreaSize: {width: 768, height: 1366}```
Thank you @sayoojsamuel, I'll look into that...
@sayoojsamuel Can you check if this commit helps?
I suppose this issue is now resolved. The Display Preferences option is working perfectectly.
Describe the bug On running
npm start
, the electron window is not launching. The following error is logged in the terminal,To Reproduce Steps to reproduce the behavior:
npm install
npm start
Expected behavior The landing window should pop up.
Screenshots
Tray Icon
Desktop (please complete the following information):
Additional context The same behaviour is noticed after building and running
g-assist