martinrotter / rssguard

Feed reader (and podcast player) which supports RSS/ATOM/JSON and many web-based feed services.
GNU General Public License v3.0
1.64k stars 125 forks source link

[BUG]: Blank interface after video mode change #1456

Open toiletduk opened 4 months ago

toiletduk commented 4 months ago

Brief description of the issue

In Windows, every time the video mode changes on my monitor, RSS Guard (even if hidden in the system tray) forces itself to the foreground and is blank. The window controls don't work, but I can refresh it by clicking the tray icon.

How to reproduce the bug?

  1. Do anything that changes the mode on my monitor (play a game that goes exclusive fullscreen or changes resolution, switch inputs on the monitor, turn on monitor in the morning, etc)
  2. Close game or switch back to the Windows input

What was the expected result?

It shouldn't be forcing itself into the foreground at all, and the fact that the interface is useless every single time is weird.

What actually happened?

This happens without fail.

image

Debug log

time=" 0.155" type="debug" -> core: Initializing settings in 'C:\RSS Guard\data4\config\config.ini' (portable way). time=" 0.156" type="debug" -> core: Starting to load active localization. Desired localization is 'en_US'. time=" 0.156" type="debug" -> core: Application localization 'en_US' loaded successfully, specifically sublocalization 'en_US' was loaded. time=" 0.157" type="warning" -> core: Qt localization 'en_US' WAS NOT loaded successfully. time=" 0.308" type="debug" -> database: File-based SQLite database connection 'DatabaseFactory' to file 'C:\RSS Guard\data4\database\database.db' seems to be established. time=" 0.308" type="debug" -> database: File-based SQLite database has version '8'. time=" 0.309" type="debug" -> gui: Available icon theme paths: QList(:/icons, :/graphics, C:\RSS Guard\data4\icons, C:/RSS Guard\icons) time=" 0.310" type="debug" -> gui: Installed icon themes are: '', 'Breeze', 'Breeze Dark', 'Faenza', 'Numix' time=" 0.310" type="debug" -> gui: Loading icon theme 'Breeze'. time=" 0.310" type="debug" -> gui: Found path of base skin: ':\skins\nudus-base'. time=" 0.310" type="debug" -> gui: Base file ':\skins\nudus-base\html_wrapper.html' exists, using it for the skin. time=" 0.310" type="debug" -> gui: Local file ':\skins\nudus-light\html_style.css' exists, using it for the skin. time=" 0.311" type="debug" -> gui: Base file ':\skins\nudus-base\html_enclosure_image.html' exists, using it for the skin. time=" 0.311" type="debug" -> gui: Base file ':\skins\nudus-base\html_single_message.html' exists, using it for the skin. time=" 0.311" type="debug" -> gui: Base file ':\skins\nudus-base\html_enclosure_every.html' exists, using it for the skin. time=" 0.311" type="debug" -> gui: Local file ':\skins\nudus-light\qt_style.qss' exists, using it for the skin. time=" 0.311" type="debug" -> gui: Base file ':\skins\nudus-base\html_adblocked.html' exists, using it for the skin. time=" 0.311" type="debug" -> gui: OS defines color scheme: 'Qt::ColorScheme::Light'. time=" 0.311" type="debug" -> gui: Setting style: 'windowsvista'. time=" 0.312" type="debug" -> gui: Skin 'nudus-light' loaded. Lite: 'false'. time=" 0.312" type="warning" -> core: User CSS style was not provided in file 'C:\RSS Guard\data4\web\user-styles.css'. time=" 0.312" type="debug" -> network: Persistent web data storage path: 'C:\RSS Guard\data4\web\storage'. time=" 0.312" type="debug" -> network: Disabling application-wide proxy completely. time=" 0.313" type="debug" -> core: SQLite version: '3.42.0'. time=" 0.317" type="debug" -> core: OpenSSL version: 'OpenSSL 3.0.12 24 Oct 2023'. time=" 0.317" type="debug" -> core: OpenSSL supported: 'true'. time=" 0.317" type="debug" -> core: Global thread pool has 32 threads. time=" 0.317" type="debug" -> core: Setting locale for LC_NUMERIC to C as libmpv requires it. time=" 0.317" type="debug" -> core: Instantiated class 'Application'. time=" 0.319" type="debug" -> database: SQLite database connection 'MessagesModel' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.323" type="debug" -> message-model: Repopulated model, SQL statement is now: 'SELECT Messages.id, Messages.is_read, Messages.is_important, Messages.is_deleted, Messages.is_pdeleted, Messages.feed, Messages.title, Messages.url, Messages.author, Messages.date_created, Messages.contents, Messages.enclosures, Messages.score, Messages.account_id, Messages.custom_id, Messages.custom_hash, Feeds.title, Feeds.is_rtl, CASE WHEN LENGTH(Messages.enclosures) > 10 THEN 'true' ELSE 'false' END AS has_enclosures, (SELECT GROUP_CONCAT(Labels.name) FROM Labels WHERE Messages.labels LIKE "%." || Labels.custom_id || ".%") as msg_labels, Messages.labels FROM Messages LEFT JOIN Feeds ON Messages.feed = Feeds.custom_id AND Messages.account_id = Feeds.account_id WHERE 0 > 1;'. time=" 0.323" type="debug" -> core: Auto-download timer started with interval 10000 ms. time=" 0.324" type="debug" -> core: Creating FeedDownloader singleton. time=" 0.325" type="debug" -> gui: Creating main application form in thread: '0x233e4'. time=" 0.330" type="debug" -> gui: Current row changed - proxy 'QModelIndex(-1,-1,0x0,QObject(0x0))', source 'QModelIndex(-1,-1,0x0,QObject(0x0))'. time=" 0.330" type="debug" -> gui: Article list header geometries changed. time=" 0.336" type="debug" -> network: Settings of BaseNetworkAccessManager loaded. time=" 0.346" type="debug" -> gui: Article list header geometries changed. time=" 0.348" type="debug" -> gui: Article list header geometries changed. time=" 0.349" type="debug" -> gui: Article list header geometries changed. time=" 0.351" type="debug" -> gui: Article list header geometries changed. time=" 0.356" type="debug" -> gui: Creating tray icon menu. time=" 0.363" type="warning" -> gui: Dialog 'FormMain' was moved from 'QPoint(0,-8)' to 'QPoint(1272,717)'. time=" 0.441" type="debug" -> CTRL is NOT pressed while sorting articles - sorting with standard mode. time=" 0.441" type="debug" -> message-model: Repopulated model, SQL statement is now: 'SELECT Messages.id, Messages.is_read, Messages.is_important, Messages.is_deleted, Messages.is_pdeleted, Messages.feed, Messages.title, Messages.url, Messages.author, Messages.date_created, Messages.contents, Messages.enclosures, Messages.score, Messages.account_id, Messages.custom_id, Messages.custom_hash, Feeds.title, Feeds.is_rtl, CASE WHEN LENGTH(Messages.enclosures) > 10 THEN 'true' ELSE 'false' END AS has_enclosures, (SELECT GROUP_CONCAT(Labels.name) FROM Labels WHERE Messages.labels LIKE "%." || Labels.custom_id || ".%") as msg_labels, Messages.labels FROM Messages LEFT JOIN Feeds ON Messages.feed = Feeds.custom_id AND Messages.account_id = Feeds.account_id WHERE 0 > 1 ORDER BY Messages.date_created DESC;'. time=" 0.444" type="debug" -> core: Showing the main window when the application is starting. time=" 0.445" type="debug" -> gui: Article list header geometries changed. time=" 0.445" type="debug" -> gui: Article list header geometries changed. time=" 0.446" type="debug" -> gui: Article list header geometries changed. time=" 0.498" type="debug" -> database: SQLite database connection 'FeedReader' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.499" type="debug" -> core: Checking for plugins in 'C:/RSS Guard\plugins'. time=" 0.500" type="debug" -> core: Plugin 'C:/RSS Guard/plugins/rssguard-standard.dll' loaded. time=" 0.500" type="critical" -> core: The plugin 'C:/RSS Guard/plugins/rssguard-standard.lib' was not loaded successfully: 'Failed to extract plugin meta data from 'C:/RSS Guard/plugins/rssguard-standard.lib': 'C:/RSS Guard/plugins/rssguard-standard.lib' is not a valid Windows DLL (invalid signature)'. time=" 0.501" type="debug" -> core: Plugin 'C:/RSS Guard/plugins/rssguard-ttrss.dll' loaded. time=" 0.501" type="critical" -> core: The plugin 'C:/RSS Guard/plugins/rssguard-ttrss.lib' was not loaded successfully: 'Failed to extract plugin meta data from 'C:/RSS Guard/plugins/rssguard-ttrss.lib': 'C:/RSS Guard/plugins/rssguard-ttrss.lib' is not a valid Windows DLL (invalid signature)'. time=" 0.501" type="debug" -> database: SQLite database connection 'StandardServiceEntryPoint' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.502" type="debug" -> core: Destructing 'std-rss' plugin. time=" 0.502" type="debug" -> database: SQLite database connection 'StandardServiceRoot' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.503" type="debug" -> core: Custom ID of feed when loading from DB is '1'. time=" 0.503" type="debug" -> core: Custom ID of feed when loading from DB is '2'. time=" 0.503" type="debug" -> core: Custom ID of feed when loading from DB is '3'. time=" 0.504" type="debug" -> database: SQLite database connection 'RecycleBin' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.504" type="debug" -> database: SQLite database connection 'ImportantNode' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.504" type="debug" -> database: SQLite database connection 'UnreadNode' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.505" type="debug" -> database: SQLite database connection 'LabelsNode' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.505" type="debug" -> database: SQLite connection 'StandardServiceRoot' is already active. time=" 0.505" type="debug" -> database: SQLite database connection 'StandardServiceRoot' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.505" type="debug" -> database: SQLite database connection 'TtRssServiceEntryPoint' to file 'C:/RSS Guard/data4/database/database.db' seems to be established. time=" 0.506" type="debug" -> gui: User wants to have tray icon. time=" 0.506" type="warning" -> gui: Showing tray icon with little delay. time=" 0.506" type="debug" -> gui: Feed list item expanded - toiletduk (RSS/ATOM/JSON) time=" 0.506" type="debug" -> core: No execution message received from other app instances. time=" 0.526" type="debug" -> gui: Article list header geometries changed. time=" 0.527" type="debug" -> gui: Message splitter moved. time=" 0.729" type="debug" -> gui: Hovered link: 'QUrl()'. time=" 1.006" type="warning" -> gui: Tray icon is available, showing now. time=" 1.007" type="debug" -> gui: Creating SystemTrayIcon instance. time=" 1.015" type="debug" -> gui: Showing tray icon immediately. time=" 1.019" type="debug" -> gui: Tray icon displayed. time=" 2.224" type="debug" -> gui: Main window hide event time=" 2.226" type="debug" -> gui: Article list header geometries changed. time=" 2.227" type="debug" -> gui: Main window close event time=" 15.307" type="debug" -> network: Settings of BaseNetworkAccessManager loaded. time=" 15.811" type="debug" -> network: Destroying Downloader instance. time=" 15.811" type="debug" -> network: Destroying SilentNetworkAccessManager instance. time=" 45.705" type="debug" -> core: Saved data with auto-saver for 'CookieJar' and method 'saveCookies'. time=" 52.264" type="warning" -> "Unable to open monitor interface to \\.\DISPLAY1:" "The operation completed successfully." time=" 139.575" type="warning" -> "Unable to open monitor interface to \\.\DISPLAY1:" "The operation completed successfully." time=" 149.628" type="debug" -> gui: Article list header geometries changed. time=" 150.489" type="debug" -> gui: Main window hide event time=" 150.491" type="debug" -> gui: Article list header geometries changed. time=" 177.157" type="debug" -> core: Cleaning up resources and saving application state. time=" 177.157" type="debug" -> core: Close lock was obtained safely. time=" 177.157" type="debug" -> core: Stopping StandardServiceRoot instance. time=" 177.157" type="debug" -> feed-downloader: Destroying FeedDownloader instance. time=" 177.161" type="debug" -> gui: Destroying FormMain instance. time=" 177.161" type="debug" -> gui: Destroying TabWidget instance. time=" 177.161" type="debug" -> gui: Destroying FeedMessageViewer instance. time=" 177.161" type="debug" -> gui: Destroying BaseToolBar instance. time=" 177.164" type="debug" -> network: Destroying Downloader instance. time=" 177.164" type="debug" -> network: Destroying SilentNetworkAccessManager instance. time=" 177.169" type="debug" -> gui: Destroying MessagesView instance. time=" 177.169" type="debug" -> gui: Destroying BaseToolBar instance. time=" 177.170" type="debug" -> gui: Destroying FeedsView instance. time=" 177.170" type="debug" -> gui: Destroying TabBar instance. time=" 177.170" type="debug" -> gui: Destroying StatusBar instance. time=" 177.171" type="debug" -> gui: Destroying SystemTrayIcon instance. time=" 177.180" type="debug" -> core: Destroying Application instance. time=" 177.180" type="debug" -> core: Destroying Mutex instance. time=" 177.196" type="debug" -> gui: Destroying IconFactory instance. time=" 177.196" type="debug" -> core: Destroying FeedReader instance. time=" 177.196" type="debug" -> core: Service 'std-rss' will be deleted by runtime. time=" 177.196" type="debug" -> core: Service 'tt-rss' will be deleted by runtime. time=" 177.196" type="debug" -> feed-model: Destroying FeedsModel instance. time=" 177.196" type="debug" -> feed-model: Destroying FeedsProxyModel instance time=" 177.196" type="debug" -> message-model: Destroying MessagesModel instance. time=" 177.197" type="debug" -> message-model: Destroying MessagesProxyModel instance. core: Destructing 'std-rss' plugin. gmail: Destructing 'tt-rss' plugin.

Operating system and version

RSS Guard

Version: 4.7.2 (built on Windows/AMD64)
Revision: 5b0453b86
Build date: 5/31/24 9:59 AM
OS: Windows 11 Version 24H2
Qt: 6.6.3 (compiled against 6.6.3)