BOINC / boinc

Open-source software for volunteer computing and grid computing.
https://boinc.berkeley.edu
GNU Lesser General Public License v3.0
2.01k stars 446 forks source link

BOINC Manager mistreats its windows on Windows 8/10 #1741

Open victory-ja opened 7 years ago

victory-ja commented 7 years ago

using 7.6.33; how to reproduce: 1) open Manager 2) open Event log window 3) drop focus; click othe application's window 4) click BOINC window or select it from task-bar or whatever it is called 5) the other BOINC window than the one clicked/selected gets focus

right window may get focus when main window is selected, but it always fail when selected Event log window.

Ageless93 commented 7 years ago

Using BOINC 7.8.3 on Windows 7 x64, doing the steps above, I cannot reproduce the problem. Anyone else?

AenBleidd commented 7 years ago

I can. At least on 7.8.2. I'll check this again in an hour and attach a video.

Best regards, Vitalii

Sent via Android

24 окт. 2017 г. 20:35 пользователь "Jord van der Elst" < notifications@github.com> написал:

Using BOINC 7.8.3 on Windows 7 x64, doing the steps above, I cannot reproduce the problem. Anyone else?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/BOINC/boinc/issues/1741#issuecomment-339070867, or mute the thread https://github.com/notifications/unsubscribe-auth/ADFZofAuH1f0ILfvmnmbFIoF0PWsplyBks5svh_UgaJpZM4LW20b .

AenBleidd commented 7 years ago

https://drive.google.com/open?id=0B8jzqKlhXhyMT2I3cXZSSV9kazQ

kotenok2000 commented 2 years ago

I will attach video here

https://user-images.githubusercontent.com/8822292/152210089-930ce479-4cc2-4983-b088-e69540738eef.mp4

Vulpine05 commented 1 year ago

I have done a little bit of investigating into this issue, but I think I may have reached a point beyond what I understand.

This bug occurs when select either window from the taskbar icon, or if you ALT + TAB to select the window. When you click on either window if it is up and visible on your screen, it behaves properly. Additionally, the application has some code to keep the manager and event log together. That is, if one is selected, the other is raised prior to raising the window that is selected (see BOINCGUIApp.cpp, L930). By removing L945 through L955, it will fix the bug, but then the windows won't stay together when you switch between applications. I'm guessing those were put there for the purpose of keeping all BOINC windows together, so I don't think removing those lines is the solution we want.

So, something is happening with the event for selecting either window with the taskbar icon or keyboard shortcuts that gets tripped up (or is tripping) the events when the application is activated. What that is, I'm not sure. If anyone has a hint how those events are processed, please let me know.