http://bugs.winehq.org/show_bug.cgi?id=13591
Summary: Popup Window created out of screen. Product: Wine Version: 1.0-rc3 Platform: PC URL: http://emuleplus.info OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: vladimiroski@gmail.com
Created an attachment (id=13552) --> (http://bugs.winehq.org/attachment.cgi?id=13552) Preference Window of Notifications.
Hi! I'm using eMule Plus 1.2d, and I have enabled notifications in "eMule Plus -> Preferences -> Messaging -> Notifications" (see attached image).
Problem is that the popup window is created and displayed out of the screen.
I don't know if it's trying to base it position relatively to something that does not exist (like Windows "Start" button or Windows Systray).
Ubuntu 7.10 + gnome 2.20
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #1 from Vladimir vladimiroski@gmail.com 2008-06-01 10:16:26 --- Created an attachment (id=13554) --> (http://bugs.winehq.org/attachment.cgi?id=13554) Visual confirmation of the bug.
I increased font size for the popup window and it appeared on top of screen, but only half of it (the purple square box).
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #2 from Vladimir vladimiroski@gmail.com 2008-06-01 10:51:24 --- I think this is the code to show the window: http://emuleplus.cvs.sourceforge.net/emuleplus/src/TaskbarNotifier.cpp?view=...
Specially the function: 'void CTaskbarNotifier::Show(LPCTSTR szCaption,int nMsgType,DWORD dwTimeToShow,DWORD dwTimeToStay,DWORD dwTimeToHide)'
HWND hWndTaskbar = ::FindWindow(_T("Shell_TrayWnd"), 0); 278 279 ::GetWindowRect(hWndTaskbar, &rcTaskbar); 280 281 // Daniel Lohmann: Calculate taskbar position from its window rect. However, on XP 282 // it may be that the taskbar is slightly larger or smaller than the screen size. 283 // Therefore we allow some tolerance here. 284 285 if (NearlyEqual(rcTaskbar.left, 0, TASKBAR_X_TOLERANCE) && NearlyEqual(rcTaskbar.right, nScreenWidth, TASKBAR_X_TOLERANCE )) 286 { 287 // Taskbar is on top or on bottom 288 m_nTaskbarPlacement = NearlyEqual(rcTaskbar.top, 0, TASKBAR_Y_TOLERANCE ) ? ABE_TOP : ABE_BOTTOM; 289 nBitmapSize = m_nBitmapHeight; 290 } 291 else 292 { 293 // Taskbar is on left or on right 294 m_nTaskbarPlacement = NearlyEqual(rcTaskbar.left, 0, TASKBAR_X_TOLERANCE ) ? ABE_LEFT : ABE_RIGHT; 295 nBitmapSize = m_nBitmapWidth; 296 }
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #3 from Vitaliy Margolen vitaliy@kievinfo.com 2008-06-02 09:04:48 --- That's a bad way to find the corner of the screen by looking for a tray window.
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #4 from Vladimir vladimiroski@gmail.com 2008-06-02 10:30:46 --- Maybe, but anyway, just God knows how many applications are doing this, so can anybody consider a patch or something for this case?, or is this a candidate for a "won't fix" bug?
http://bugs.winehq.org/show_bug.cgi?id=13591
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Summary|Popup Window created out of |emule plus: popup window |screen. |created out of screen.
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #5 from Dmitry Timoshkov dmitry@codeweavers.com 2008-06-02 22:49:34 --- (In reply to comment #4)
Maybe, but anyway, just God knows how many applications are doing this, so can anybody consider a patch or something for this case?, or is this a candidate for a "won't fix" bug?
Have you tried to run your code under Windows with taskbar placed on left or right side?
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #6 from Vladimir vladimiroski@gmail.com 2008-06-03 03:55:08 --- I haven't tried that, but I'll try along with other weird cases.
By the way, seems normal eMule/oMule also suffer from this problem, I'm going to attach a screenshot of it.
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #7 from Vladimir vladimiroski@gmail.com 2008-06-03 03:59:20 --- Created an attachment (id=13607) --> (http://bugs.winehq.org/attachment.cgi?id=13607) oMule with the same problem.
Same out of screen behavior.
http://bugs.winehq.org/show_bug.cgi?id=13591
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |source
--- Comment #8 from Austin English austinenglish@gmail.com 2008-06-03 19:35:22 --- Confirming. Virtual desktop doesn't help.
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #9 from Vladimir vladimiroski@gmail.com 2008-12-07 01:20:00 --- Created an attachment (id=17708) --> (http://bugs.winehq.org/attachment.cgi?id=17708) oMule notification window out of screen.
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #10 from Vladimir vladimiroski@gmail.com 2008-12-07 01:20:45 --- ePlus devs released a workaround to this issue (in July 08), so I've to downgrade my ePlus to check this bug.
However, oMule (original eMule) still does not has a fix for this and (with wine-1.1.9-183-gbbaa72d) its notifications popups looks like the picture in the above attachment, so I guess this bug is still present in wine.
http://bugs.winehq.org/show_bug.cgi?id=13591
--- Comment #11 from Austin English austinenglish@gmail.com 2010-06-13 22:07:52 --- http://sourceforge.net/projects/emuleplus/files/eMulePlus/eMulePlus-1.2d/eMu...
Still present in 1.2-rc3.
http://bugs.winehq.org/show_bug.cgi?id=13591
butraxz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |butraxz@gmail.com
--- Comment #12 from butraxz@gmail.com 2012-05-18 05:05:24 CDT --- This bug has not been updated for two years and OP by four. Is this still an issue i current (1.5.4) or newer wine ? You may also close this as abandoned if you feel that that this is issue is no longer relevant to you.
https://bugs.winehq.org/show_bug.cgi?id=13591
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #13 from Ken Sharp imwellcushtymelike@gmail.com --- Abandoned
https://bugs.winehq.org/show_bug.cgi?id=13591
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Austin English austinenglish@gmail.com --- Closing.