New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do flashui
refresh for first display of History page
#11603
Conversation
@hius07, does it look okay to you? |
@NiLuJe is in charge of this. |
Not sure if that's the way to go, as I imagine it's mostly an issue with large mosaic views, not necessarily with history itself : it just happens to defaults to large mosaic views ;). |
Unless the issue is mainly with view swaps? In which case, sure, that works. IIRC, the FM does something similar on initial display? |
Yes, FM does the flash refresh on the initial load and doesn’t have ghosting. As you mentioned, this change affects first History load only, so it behaves similar to File Manager. |
Cool, fine with me then ;). |
I thought I would be bothered by this (I usually don't like flashes, and am fine with getting some bits of ghosting and having to do a small diagonal swipe to refresh when I want it). BUT then, I don't think it's really what should be used. |
Yes, since the default History mode display large covers, this change reduces ghosting for color Pocketbooks. |
Again, I see no differences in the code showing History and Favorites. Can we investigate why do they look differently in color? |
Well, I suspect it’s because Favorites use small thumbnails unlike History and ghosting is less visible there. |
It depends on your settings, they can be adjusted separately, and there is a checkbox to unify FM, Hist, Fav display modes. |
Okay, to be sure, I've tested FM and Favorites in the cover display mode. They both do flash refresh before first display. |
It's interesting because Hist and Fav can be shown over the Reader in the same way:
Anyway, if it is good on a color device, I'm fine with this PR. |
This fixes ghosting for color Pocketbook devices Fixes koreader#11602.
I still think this was not the right solution. (The ghosting is not only for color devices: if I have some dark/black covers, when launching History over my book text, I see light gray remnants of the book text in the black covers.) |
I already had a bunch of tabs open to remind me anyway ;p.
I would tend to agree with that, but please define "other cases" anyway ;). Your previous comment also reminded me that flashui is conditional on the "avoid mandatory flashes" eInk setting, so, if we do indeed want a flash, and given than this is obviously always a full-screen affair, a full makes more sense. FWIW, on paper, I think a flash on a view swap sort of makes sense, and it's probably easier to handle it on show than on close here.
Yeah, since I've had to switch out my Forma for the Clara 2E as my "on the go" device, and having to use it significantly more than expected, turns out some devices have really really crappy REAGL implementations, even recent ones ;p. |
Then again, while it's true I originally envisioned flashui as only being used for partially occluding UI elements, we do have a few full-screen ones in the current codebase, and honoring user settings in that respect and in this specific case could be a good thing, given that the current behavior is utterly unproblematic on most devices? Sidebar: Suffering from the mother of all head colds for a week now, so brain is pretty mushy, I may not be making much sense ^^. |
Don't overwork yourself. ;) |
This fixes ghosting for color Pocketbook devices
Needs koreader/koreader-base#1755.
Fixes #11602.
This change is