OtterBrowser / otter-browser

Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
https://otter-browser.org
GNU General Public License v3.0
1.83k stars 277 forks source link

tab preview flickering (on specific mouse position) #1449

Open vbr opened 7 years ago

vbr commented 7 years ago

Hi, thanks for the current RC; I just noticed a minor glitch in tab preview, I wanted to report - if the mouse pointer is placed just on the border line below some (non-active) tab - the popup with tab preview keeps beeing displayed and hidden periodically; if the mouse is moved a tiny bit in either direction vertically, the preview popup is either displayed normally or not shown at all. - I guess - there might be some bordercase, where both handlers are being called and are struggling with each other... As mentioned, this is indeed a minor issue. Using Win 7 Otter 64bit RC2 regards, vbr

Emdek commented 7 years ago

@vbr, could you please provide some screenshot and mark the exact spot? It might be style dependant, and so far I can't reproduce it with Fusion.

vbr commented 7 years ago

Sorry for the delay, in the attached screenshot the mouse arrow is placed in the "critical" position, where the tab preview keeps blinking. It behaves the same under this "System theme", as well as with Fusion style set in Otter. I wasn't able to actually capture the preview itself, but the mouse position should be accurate.

This is under Win7 using Otter 64bit RC 2 ( at least RC1 behaves the same); (On the other hand, on Win 10 I haven't noticed this problem.)

otterbrowser_tab_preview_mouse_over_pos

Emdek commented 7 years ago

@vbr, still no luck. :-/ How long is that show / hide interval? Are you using any custom settings for Tab Bar?

vbr commented 7 years ago

Thanks for investigation, I don't know of any special settings of the toolbar (other than adding some controls as seen in the screenshot). I see the same blinking, when I unpack the 7z archive for RC2 in a new directory and run the program with --portable. The tab preview is displayed and hidden instantly, it repeats approx. twice a second. (It might be possible, that on a faster computer, it would not be even noticeble, but on a newer machine, where I don't see this problem, there is also Win10 - it is not clear, which part is solving this...)

However, it is clearly a corner case, if nobody else is noticing this, it probably isn't worth the effort.

Thanks and regards, vbr

Frenzie commented 7 years ago

I can't confirm either, in Win 7 regular or Windows classic look.

alexs-rnd commented 7 years ago

I can't reproduce it with same setup as TS (Win7 x64, RC2) either.

vbr commented 7 years ago

Hi, it seems, it might be something peculiar to the settings or hardware I'm using, if it can't be reproduced by anybody else; I guess, the issue can be closed, if this is the case. Just for completeness, I tried to check the behaviour on Win10, where I don't see a noticeble blinking of the tab preview, and it seems, something is going on this recent OS too, if I place the mouse pointer at the mentioned border in Otter. I'm attaching the screenshot of a parallel view of Otter and its process history (using Process Explorer from Sysinternals). If I hover a mouse to the tab area normally, the preview is shown and it only takes tiny processor at "one-point" (mostly about 1%), a single peak each time. If the mouse pointer is placed at the formerly mentioned borderline, the background colour of the tab is highlighted, but no (visible) tab preview is shown; The processor usage rises a bit more (about 2-3 %), and it stays so all the time, while the mouse pointer is placed at that line (cf. the rightmost part of the upper graph). Anyway, I thinks this is still a rather obscure cornercase...

regards, vbr

otter_procexp_1 (Win 10 Pro, Otter RC2 64bit)

Frenzie commented 7 years ago

My bad, I just realized I tried it on SP1 32-bit (not SP2) if that makes a difference.