Missing settings menu from Google Backup and Sync app

Questions about Wine on Linux
Post Reply
zwastik
Level 1
Level 1
Posts: 8
Joined: Mon Aug 15, 2011 3:57 am

Missing settings menu from Google Backup and Sync app

Post by zwastik » Wed Feb 28, 2018 12:26 pm

I successfully installed Google Drive and Sync following the instructions from
https://appdb.winehq.org/objectManager. ... &iId=28866, the software seems to be working because it logs in and downloads the files from google servers. However, I cannot access the settings menu. Right clicking the icon in the notification bar does nothing, double clicking it opens the explorer.

version: wine-3.2

In my .bashrc I have:
export WINEPREFIX=/path/wine32
export WINEARCH=win32

Code: Select all

wine googledrivesync.exe
0012:fixme:ntdll:EtwRegisterTraceGuidsW (0x1800f935, 0x7504d0, {9b18bff9-915e-4cc1-9c3e-f4ac112cb36c}, 1, 0x180b1ba0, (null), (null), 0x7504e8): stub
0012:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}
0012:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 240, std (d/m/y): 13/05/2018, dlt (d/m/y): 12/08/2018
0012:fixme:advapi:LsaOpenPolicy ((null),0x33f9d0,0x00000001,0x33f9c8) stub
0012:fixme:advapi:LsaClose (0xcafe) stub
0012:fixme:process:SetProcessShutdownParameters (00000280, 00000001): partial stub.
0012:fixme:advapi:LsaOpenPolicy ((null),0x33f560,0x00000001,0x33f558) stub
0012:fixme:advapi:LsaClose (0xcafe) stub
001b:fixme:exec:SHELL_execute flags ignored: 0x00000100
001b:fixme:advapi:RegisterEventSourceW ((null),L"gupdate"): stub
001b:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0xc8fc74,(nil)): stub
001b:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
0012:fixme:ntdll:EtwUnregisterTraceGuids deadbeef: stub
001f:fixme:ntdll:EtwRegisterTraceGuidsW (0x1800f935, 0x7504d0, {9b18bff9-915e-4cc1-9c3e-f4ac112cb36c}, 1, 0x180b1ba0, (null), (null), 0x7504e8): stub
001f:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {00000000-0000-0000-0000-000000000000}
001f:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 240, std (d/m/y): 13/05/2018, dlt (d/m/y): 12/08/2018
001f:fixme:advapi:LsaOpenPolicy ((null),0x33f9d0,0x00000001,0x33f9c8) stub
001f:fixme:advapi:LsaClose (0xcafe) stub
001f:fixme:process:SetProcessShutdownParameters (00000280, 00000001): partial stub.
001f:fixme:advapi:LsaOpenPolicy ((null),0x33f560,0x00000001,0x33f558) stub
001f:fixme:advapi:LsaClose (0xcafe) stub
001f:fixme:advapi:LsaOpenPolicy ((null),0x33efc0,0x00000001,0x33efb8) stub
001f:fixme:advapi:LsaClose (0xcafe) stub
003f:fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for -03, bias 240, std (d/m/y): 13/05/2018, dlt (d/m/y): 12/08/2018
003f:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0040:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0040:fixme:toolhelp:Heap32ListFirst : stub
0044:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
005e:fixme:win:RegisterDeviceNotificationW (hwnd=0x200d8, filter=0xdf4f1fc,flags=0x00000000) returns a fake device notification handle!
0044:err:ole:CoGetClassObject class {0af10cec-2ecd-4b92-9581-34f6ae0637f3} not registered
0044:err:ole:CoGetClassObject no class object {0af10cec-2ecd-4b92-9581-34f6ae0637f3} could be created for context 0x1
006c:fixme:win:RegisterDeviceNotificationW (hwnd=0x200e0, filter=0xfc2fe98,flags=0x00000000) returns a fake device notification handle!
0056:fixme:iphlpapi:NotifyAddrChange (Handle 0x3468f08, overlapped 0x3468f58): stub
0079:fixme:advapi:LsaOpenPolicy ((null),0x95f9f0,0x00000001,0x95f9e8) stub
0079:fixme:advapi:LsaClose (0xcafe) stub
0079:fixme:process:GetProcessWorkingSetSizeEx (0xffffffff,0x95fd1c,0x95fd20,(nil)): stub
01de:fixme:advapi:LsaOpenPolicy ((null),0xc8f9f0,0x00000001,0xc8f9e8) stub
01de:fixme:advapi:LsaClose (0xcafe) stub
01de:fixme:process:GetProcessWorkingSetSizeEx (0xffffffff,0xc8fd1c,0xc8fd20,(nil)): stub
01e9:fixme:advapi:LsaOpenPolicy ((null),0x95f9f0,0x00000001,0x95f9e8) stub
01e9:fixme:advapi:LsaClose (0xcafe) stub
01e9:fixme:process:GetProcessWorkingSetSizeEx (0xffffffff,0x95fd1c,0x95fd20,(nil)): stub

zwastik
Level 1
Level 1
Posts: 8
Joined: Mon Aug 15, 2011 3:57 am

Re: Missing settings menu from Google Backup and Sync app

Post by zwastik » Thu Jul 05, 2018 4:23 pm

Still the same issue (wine-3.11, archlinux) , however when I right click the icon in the tray, this message appears in the console (one GetVolume... line for every right click on the icon):

Code: Select all

0099:fixme:volume:GetVolumeInformationByHandleW 0x2f4 0x12a1e6bc 261 0x12a1e6a4 0x12a1e6a8 0x12a1e6a0 0x12a1e8c8 261                        
009a:fixme:volume:GetVolumeInformationByHandleW 0x394 0x1280e6bc 261 0x1280e6a4 0x1280e6a8 0x1280e6a0 0x1280e8c8 261                        
009b:fixme:volume:GetVolumeInformationByHandleW 0x394 0x1348e6bc 261 0x1348e6a4 0x1348e6a8 0x1348e6a0 0x1348e8c8 261                        
009c:fixme:volume:GetVolumeInformationByHandleW 0x950 0x1280e6bc 261 0x1280e6a4 0x1280e6a8 0x1280e6a0 0x1280e8c8 261                        
009d:fixme:volume:GetVolumeInformationByHandleW 0x95c 0x12a1e6bc 261 0x12a1e6a4 0x12a1e6a8 0x12a1e6a0 0x12a1e8c8 261                        
009e:fixme:volume:GetVolumeInformationByHandleW 0x864 0x1369e6bc 261 0x1369e6a4 0x1369e6a8 0x1369e6a0 0x1369e8c8 261                        
009f:fixme:volume:GetVolumeInformationByHandleW 0x96c 0x1280e6bc 261 0x1280e6a4 0x1280e6a8 0x1280e6a0 0x1280e8c8 261

zwastik
Level 1
Level 1
Posts: 8
Joined: Mon Aug 15, 2011 3:57 am

Re: Missing settings menu from Google Backup and Sync app

Post by zwastik » Tue Sep 24, 2019 10:11 am

update: I am running wine 4.16 and this problem still persists. Apart from that, the program runs fine.
BTW, when I right click the icon in the notification bar this gets printed in the console:

Code: Select all

0051:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
0051:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
0051:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0)
0051:fixme:volume:GetVolumeInformationByHandleW 0x8a8 0x6e4e71c 261 0x6e4e704 0x6e4e708 0x6e4e700 0x6e4e928 261
Also, the google updater endlessly fills the ../drive_c/users/$USER/Temp directory with update files but does not really apply the update itself, so this directory can get quite large, a few GB if you don't clean it periodically.

Under some apparently random circunstances the "right click menu" can appear, I have not found a way to reproduce this behaviour, but it _seems_ to be a race condition; the menu has sometimes shown up when the app is under heavy load.

Atemu
Newbie
Newbie
Posts: 1
Joined: Fri Dec 20, 2019 1:17 pm

Re: Missing settings menu from Google Backup and Sync app

Post by Atemu » Fri Dec 20, 2019 2:37 pm

I am experiencing the same issues using WINE 4.0.2 (Alpine Edge x86) and wine32-development 4.21 (Debian Bullseye) inside Docker containers; the app seems to run and creates a tray icon that behaves just like on Windows but it doesn't show the GUI on-click and the right click menu doesn't work either.

I did a little digging and found out that the app stores some of its configuration in `$WINEPREFIX/drive_c/users/$USER/Local Settings/Application Data/Google/Drive/` using a few sqlite3 databases and a few other things in `HKEY_CURRENT_USER\Software\Google\Drive\`.
You might be able to configure it in a Windows VM and copy over the databases (or the whole dir) and reg keys.

I also found out that it's made with Python thanks to a bunch of debug info in sync_log.log, that might give some clues for getting their weird GUI to work.

Post Reply