SpriteOvO / AirPodsDesktop

☄️ AirPods desktop user experience enhancement program, for Windows and Linux (WIP)
GNU General Public License v3.0
1.49k stars 87 forks source link

the pop up UI glitches out #75

Open welpdx opened 1 year ago

welpdx commented 1 year ago

:bug: the pop up UI glitches out

After install it worked fine. But now it always look like this ![img}(https://i.imgur.com/Xo2Eud4.png)

:gear: Environments:

Closing the app and restarting doesnt fix it. Same with restarting the computer.

AirPodsDesktop.log ``` [2023-08-02 11:26:47.331] [Main] [info] [Application.cpp:121] Launched. Version: '0.4.0' [2023-08-02 11:26:47.332] [Main] [info] [Application.cpp:123] Build git hash: 'ce7cfb67e8eadfdf4f2bff82a6b35459b5ecb53f' [2023-08-02 11:26:47.333] [Main] [info] [Application.cpp:128] Build configuration: Not Debug [2023-08-02 11:26:47.333] [Main] [info] [Application.cpp:131] Opts: { trace: true } [2023-08-02 11:26:47.333] [Main] [info] [Logger.cpp:93] Clean up old log file: 'AirPodsDesktop.1.log' doesn't exist, break the loop [2023-08-02 11:26:47.335] [Main] [warning] [Windows.h:181] Winrt initialize failed. Code: -0x7ffefefa, Message: Cannot change thread mode after it is set. [2023-08-02 11:26:47.336] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'abi_version', Value: '1' [2023-08-02 11:26:47.336] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'language_locale', Value: '' [2023-08-02 11:26:47.336] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'auto_run', Value: 'true' [2023-08-02 11:26:47.336] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'low_audio_latency', Value: 'true' [2023-08-02 11:26:47.337] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'automatic_ear_detection', Value: 'true' [2023-08-02 11:26:47.337] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'skipped_version', Value: '' [2023-08-02 11:26:47.337] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'rssi_min', Value: '-80' [2023-08-02 11:26:47.338] [Main] [warning] [Settings.cpp:140] The setting key 'reduce_loud_sounds' not found. Current value 'false'. [2023-08-02 11:26:47.338] [Main] [warning] [Settings.cpp:140] The setting key 'loud_volume_level' not found. Current value '40'. [2023-08-02 11:26:47.339] [Main] [info] [Settings.cpp:174] Load key succeeded. Key: 'device_address', Value: '** MAYBE NO VALUE **' [2023-08-02 11:26:47.339] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'tray_icon_battery', Value: '0' [2023-08-02 11:26:47.340] [Main] [info] [Settings.cpp:170] Load key succeeded. Key: 'battery_on_taskbar', Value: '0' [2023-08-02 11:26:47.340] [Main] [info] [Application.cpp:237] currentLocale: en_US [2023-08-02 11:26:47.341] [Main] [info] [Application.cpp:241] Locale from settings: '' [2023-08-02 11:26:47.341] [Main] [info] [Application.cpp:199] SetTranslator() locale: en_US [2023-08-02 11:26:47.341] [Main] [warning] [Application.cpp:222] Try to set a same locale name 'en_US', ignore [2023-08-02 11:26:47.609] [Main] [info] [TaskbarStatus.cpp:133] Is Windows 11 or greater: 'true' [2023-08-02 11:26:47.976] [Main] [info] [MainWindow.cpp:273] MainWindow::Unavailable [2023-08-02 11:26:47.979] [Main] [info] [Update.cpp:392] Checking update... [2023-08-02 11:26:48.254] [Main] [info] [LowAudioLatency.cpp:68] LowAudioLatency: Init successful. _enabled: false [2023-08-02 11:26:48.254] [Main] [info] [Settings.cpp:282] ApplyWithoutLock [2023-08-02 11:26:48.254] [Main] [info] [Settings.cpp:44] OnApply_language_locale: [2023-08-02 11:26:48.255] [Main] [info] [Application.cpp:199] SetTranslator() locale: en_US [2023-08-02 11:26:48.255] [Main] [warning] [Application.cpp:222] Try to set a same locale name 'en_US', ignore [2023-08-02 11:26:48.255] [Main] [info] [Settings.cpp:52] OnApply_auto_run: true [2023-08-02 11:26:48.256] [Main] [info] [Settings.cpp:73] OnApply_low_audio_latency: true [2023-08-02 11:26:48.256] [Main] [info] [LowAudioLatency.cpp:79] LowAudioLatency::Controller Control: true, _inited: true [2023-08-02 11:26:48.256] [Main] [info] [Settings.cpp:80] OnApply_automatic_ear_detection: true [2023-08-02 11:26:48.256] [Main] [info] [Settings.cpp:88] OnApply_rssi_min: -80 [2023-08-02 11:26:48.257] [Main] [info] [Settings.cpp:95] OnApply_device_address: ** MAYBE NO VALUE ** [2023-08-02 11:26:48.257] [Main] [info] [MainWindow.cpp:306] MainWindow::Unbind [2023-08-02 11:26:48.259] [Main] [info] [AirPods.cpp:182] StateManager: Disconnect. [2023-08-02 11:26:48.259] [Main] [info] [AirPods.cpp:424] Unbind device. [2023-08-02 11:26:48.259] [Main] [info] [Settings.cpp:109] OnApply_tray_icon_battery: 0 [2023-08-02 11:26:48.261] [Main] [info] [Settings.cpp:116] OnApply_battery_on_taskbar: 0 [2023-08-02 11:26:48.270] [Main] [info] [Bluetooth_win.cpp:303] Bluetooth AdvWatcher start succeeded. [2023-08-02 11:26:48.271] [Main] [info] [MainWindow.cpp:262] MainWindow::Available [2023-08-02 11:26:48.271] [Main] [info] [AirPods.cpp:559] Bluetooth AdvWatcher started. [2023-08-02 11:26:48.271] [Main] [info] [AirPods.cpp:387] Bluetooth AdvWatcher start succeeded. [2023-08-02 11:26:48.331] [Main] [info] [Update.cpp:123] ParseSRResponse: Asset name: 'AirPodsDesktop-0.4.0-win32.exe', size: 32057761, downloadUrl: 'https://github.com/SpriteOvO/AirPodsDesktop/releases/download/0.4.0/AirPodsDesktop-0.4.0-win32.exe'. [2023-08-02 11:26:48.332] [Main] [info] [Update.cpp:144] ParseSRResponse: Found matching file. [2023-08-02 11:26:48.333] [Main] [info] [Update.cpp:241] IsCurrentPreRelease: returns false. [2023-08-02 11:26:48.333] [Main] [info] [Update.cpp:276] Update: isCurrentPreRelease: 'false' [2023-08-02 11:26:48.604] [Main] [info] [Update.cpp:123] ParseSRResponse: Asset name: 'AirPodsDesktop-0.4.0-win32.exe', size: 32057761, downloadUrl: 'https://github.com/SpriteOvO/AirPodsDesktop/releases/download/0.4.0/AirPodsDesktop-0.4.0-win32.exe'. [2023-08-02 11:26:48.605] [Main] [info] [Update.cpp:144] ParseSRResponse: Found matching file. [2023-08-02 11:26:48.606] [Main] [info] [Update.cpp:287] Update: Latest version: '0.4.0' [2023-08-02 11:26:48.606] [Main] [info] [Update.cpp:289] Update: No need to update. [2023-08-02 11:26:50.827] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -53 [2023-08-02 11:26:50.827] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:26:50.851] [Main] [trace] [MainWindow.cpp:694] MainWindow: Show [2023-08-02 11:26:50.852] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'true', _isVisible == 'true' [2023-08-02 11:26:52.137] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -44 [2023-08-02 11:26:52.138] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:26:55.904] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -49 [2023-08-02 11:26:55.904] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:26:56.281] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -49 [2023-08-02 11:26:56.281] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:26:58.153] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -44 [2023-08-02 11:26:58.154] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:26:58.521] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -45 [2023-08-02 11:26:58.522] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:27:00.862] [Main] [trace] [MainWindow.cpp:674] MainWindow: Hide [2023-08-02 11:27:00.863] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'false', _isVisible == 'false' [2023-08-02 11:27:02.304] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -51 [2023-08-02 11:27:02.305] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:27:02.880] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -51 [2023-08-02 11:27:02.881] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:27:03.255] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -51 [2023-08-02 11:27:03.255] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:27:04.186] [Main] [trace] [AirPods.cpp:539] AirPods advertisement received. Data: 07 19 01 14 20 2b 9a 8f 01 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00, Address Hash: 1037465776, RSSI: -43 [2023-08-02 11:27:04.187] [Main] [info] [AirPods.cpp:542] AirPods advertisement received, but device disconnected. [2023-08-02 11:27:05.874] [Main] [trace] [MainWindow.cpp:621] OnAppStateChanged: 'Qt::ApplicationState::ApplicationActive' [2023-08-02 11:27:05.874] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'false', _isVisible == 'false' [2023-08-02 11:27:06.962] [Main] [trace] [MainWindow.cpp:621] OnAppStateChanged: 'Qt::ApplicationState::ApplicationInactive' [2023-08-02 11:27:06.962] [Main] [trace] [MainWindow.cpp:525] ControlAutoHideTimer: start == 'true', _isVisible == 'false' [2023-08-02 11:27:06.983] [Main] [info] [Bluetooth_win.cpp:321] Bluetooth AdvWatcher stop succeeded. [2023-08-02 11:27:06.984] [Main] [warning] [AirPods.cpp:564] Bluetooth AdvWatcher stopped. Error: 'nullopt'. ```
SpriteOvO commented 1 year ago

What's the DPI scale value you are using?

welpdx commented 1 year ago

I am using a multi monitor set up

image

If laptop display 1 is at 150% scale, and even though scaling on Screen 4 (main display) was 100%, the pop up on screen 4 glitches out.

If display 1 is set to normal 1920 x 1080 resolution instead of 2560 * 1440 resolutions, scaling to 150% does not impact pop up

EDIT: If there are scenarios you want me to test or something let me know. Changing the resolution helped me with this issue. But would love to see if it is possible to have a fix to the software. Leaving issue open for now

HippieWithGuns commented 1 year ago

I have the same Issue on my Surface Pro 7. No matter if i use internal or external monitor. image image image

éet me know if you need more info