You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the bookmark dialog to manage bookmarks (create a new bookmark, add the selected item to a bookmark etc.), after changes are made, the code calls App.repaintAllTableViews(), which contains a call to gallery.repaint(). Everything is updated as expected, except if a single item is selected in the gallery view. This selected item, if added to (or removed from) a bookmark, should be repainted to reflect the new bookmark colored icon. Somehow gallery.repaint() does not repaint the selected item. Although it is kind of random, it happens most of the time, so it is reproducible. If more than one item is selected, repaint works fine.
I have been noticing this issue for a while in real cases, but I am not sure when it started to happen (or if it has always been there). Anyway, I will submit a workaround to avoid this glitch.
The text was updated successfully, but these errors were encountered:
An example screenshot.
After creating a bookmark with a single selected item in the gallery view, its bookmark colored icon is not updated by the repaint() (in fact the selected cell repaint is not even called).
It should look like this:
By the way, just selecting any cell causes another repaint(), which works and updates the bookmarked cell.
A last observation, when using CTRL+Q/W to blur/enable black and white thumbs/image viewer, if a single cell is selected in the gallery view, sometimes it is not updated. This seems caused by the same issue (and should be fixed by the proposed workaround).
When using the bookmark dialog to manage bookmarks (create a new bookmark, add the selected item to a bookmark etc.), after changes are made, the code calls
App.repaintAllTableViews()
, which contains a call togallery.repaint()
. Everything is updated as expected, except if a single item is selected in the gallery view. This selected item, if added to (or removed from) a bookmark, should be repainted to reflect the new bookmark colored icon. Somehowgallery.repaint()
does not repaint the selected item. Although it is kind of random, it happens most of the time, so it is reproducible. If more than one item is selected, repaint works fine.I have been noticing this issue for a while in real cases, but I am not sure when it started to happen (or if it has always been there). Anyway, I will submit a workaround to avoid this glitch.
The text was updated successfully, but these errors were encountered: