ValentijnNK / miranda

Automatically exported from code.google.com/p/miranda
0 stars 0 forks source link

Scriver stops blinking #386

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Miranda Version                  : Built Oct 21 2009 18:06:43
Unicode Build                    : Yes
Test Build # (if applicable)     :
Plugin Version # (if applicable) : 2.8.1.1 Unicode

What steps will reproduce the problem?
1. Set Scriver as the message window plugin
2. Receive a message in an open message window
3. Wait for the menu bar to stop blinking

What is the expected result?
SRMM would leave the menu bar, and thus the entry in the Windows task bar,
highlighted, even after the number of blinks have gone past.

What happens instead?
Scriver blinks the specified number of times (Settings>SRMM>FlashMax, or
3), then turns off the highlighting.
This causes a problem for me, because if I'm away from my computer for more
than 10 seconds, I may miss a message because I didn't see the highlighting
in time.

Please attach or post your VersionInfo.
[quote][size=1]CPU: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz [x86 Family
6 Model 23 Stepping 6] [DEP Enabled] [2 CPUs]
Installed RAM: 2048 MBytes
Operating System: Microsoft Windows 7 Enterprise Edition, 32-bit (build 7600)
Internet Explorer: 8.0.7600.16385 (build 87600)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/English | English/Japanese
Free disk space on Miranda partition: 19344 MBytes

Miranda IM Version: 0.8.9 Unicode
Build time: 2009-10-21 16:06:48-0600
Profile: D:\Program Files\Miranda IM\Snes_rocks.dat
Profile size: 43974656 Bytes
Profile creation date: 2009-08-22 15:11:39-0600
Language pack: No language pack installed
Nightly: No
Unicode: Yes
Service Mode: No

[b]Active Plugins (24):[/b]
¤ advaimg.dll v.[b]0.8.0.0[/b] [2009-10-21 16:04:48-0600] - Miranda Image
services 
¤ aim.dll v.[b]0.8.7.0[/b] [2009-10-21 16:05:22-0600] - AIM Protocol
|Unicode aware|
¤ avs.dll v.[b]0.8.0.0[/b] [2009-10-21 16:05:32-0600] - Avatar service
(Unicode) |Unicode aware|
¤ Chat.dll v.[b]0.8.1.0[/b] [2009-10-21 16:05:38-0600] - Chat |Unicode aware|
¤ clist_classic.dll v.[b]0.8.1.0[/b] [2009-10-21 16:05:42-0600] - Classic
contact list |Unicode aware|
  dbeditorpp.dll v.[b]3.1.2.0[/b] [2005-09-19 19:14:04-0600] - Database
Editor++ 
¤ dbx_mmap.dll v.[b]0.8.1.0[/b] [2009-10-21 16:05:56-0600] - Miranda mmap
database driver |Unicode aware|
¤ historypp.dll v.[b]1.5.1.2[/b] [2008-11-03 23:34:22-0600] - History++
(2in1) |Unicode aware|
¤ icq.dll v.[b]0.5.0.11[/b] [2009-10-21 16:06:08-0600] - IcqOscarJ Protocol
|Unicode aware|
¤ irc.dll v.[b]0.8.3.0[/b] [2009-10-21 16:05:06-0600] - IRC protocol
|Unicode aware|
¤ Jabber.dll v.[b]0.8.6.0[/b] [2009-10-21 16:06:30-0600] - Jabber Protocol
|Unicode aware|
¤ MagneticWindows.dll v.[b]0.0.5.0[/b] [2007-03-10 15:38:18-0600] -
Magnetic Windows 
¤ MetaContacts.dll v.[b]0.14.0.1[/b] [2007-07-20 15:37:56-0600] -
MetaContacts Plugin 
¤ msn.dll v.[b]0.8.8.0[/b] [2009-10-21 16:07:42-0600] - MSN Protocol
|Unicode aware|
  mtextcontrolw.dll v.[b]0.0.2.0[/b] [2007-01-06 02:14:36-0600] - Miranda
Text Control [build #484] 
  mToolTip.dll v.[b]0.0.1.5[/b] [2005-05-26 17:09:00-0600] - mToolTip 
¤ NewEventNotify.dll v.[b]0.2.2.3[/b] [2009-07-14 10:46:28-0600] -
NewEventNotify |Unicode aware|
¤ otr.dll v.[b]0.7.0.0[/b] [2008-06-02 13:22:56-0600] - OTR 
¤ PopUp.dll v.[b]2.1.0.5[/b] [2007-05-15 22:52:00-0600] - Popup Plus
|Unicode aware|
¤ scriver.dll v.[b]2.8.1.1[/b] [2009-06-28 20:40:40-0600] - Scriver
(Unicode) |Unicode aware|
¤ svc_crshdmp.dll v.[b]0.0.4.17[/b] [2009-08-22 18:47:36-0600] - Crash
Dumper Unicode |Unicode aware|
¤ updater.dll v.[b]0.5.3.0[/b] [2007-07-29 11:45:00-0600] - Updater
(Unicode) |Unicode aware|
¤ Yahoo.dll v.[b]0.8.3.0[/b] [2009-10-21 16:05:14-0600] - Yahoo Protocol
|Unicode aware|
¤ yapp.dll v.[b]0.5.0.4[/b] [2007-10-05 12:39:34-0600] - YAPP |Unicode aware|

[b]Unloadable Plugins (6):[/b]
  changeinfo.dll v.[b]0.0.0.0[/b] [2005-06-16 07:39:02-0600] - <unknown> 

  dbx_3x.dll v.[b]0.0.0.0[/b] [2005-06-16 07:34:20-0600] - <unknown> 
    This dll is a Miranda database plugin, another database is active right now

  FontService.dll v.[b]0.0.0.0[/b] [2007-05-22 22:53:10-0600] - <unknown> 

  IcoLib.dll v.[b]0.0.0.0[/b] [2006-10-25 17:11:38-0600] - <unknown> 

  png2dib.dll v.[b]0.0.0.0[/b] [2005-01-10 14:26:22-0600] - <unknown> 
    This dll is not a Miranda plugin and should be removed from plugins
directory

  xstatus_icons.dll v.[b]0.0.0.0[/b] [2006-07-18 01:09:06-0600] - <unknown> 
    This dll is not a Miranda plugin and should be removed from plugins
directory

[b]Protocols and Accounts:[/b]
-------------------------------------------------------------------------------
AIM                      1 - Enabled 0 - Disabled  Loaded
ICQ                      1 - Enabled 0 - Disabled  Loaded
IRC                      0 - Enabled 1 - Disabled  Loaded
JABBER                   4 - Enabled 0 - Disabled  Loaded
MSN                      2 - Enabled 0 - Disabled  Loaded
MetaContacts             1 - Enabled 0 - Disabled  Loaded
YAHOO                    1 - Enabled 0 - Disabled  Loaded

[b]Icon Packs:[/b]
-------------------------------------------------------------------------------
 ami_aim.dll [2003-08-02 13:11:00-0600]
 ami_bulb.dll [2003-08-02 14:27:00-0600]
 ami_bulb2.dll [2003-08-02 14:39:00-0600]
 ami_gg.dll [2003-08-02 13:55:00-0600]
 ami_gg2.dll [2003-08-02 21:49:00-0600]
 ami_globe.dll [2003-07-25 21:12:00-0600]
 ami_icq.dll [2003-08-07 13:04:00-0600]
 ami_icq2.dll [2003-07-27 02:07:00-0600]
 ami_irc.dll [2003-08-02 14:53:00-0600]
 ami_main.dll [2003-08-08 12:16:00-0600]
 ami_msn.dll [2003-07-25 20:18:00-0600]
 ami_msn2.dll [2003-08-04 03:07:00-0600]
 ami_msn3.dll [2003-12-13 21:11:00-0600]
 ami_phantom.dll [2003-08-02 13:13:00-0600]
 ami_star.dll [2003-07-25 21:12:00-0600]
 ami_tlen.dll [2003-08-02 14:19:00-0600]
 ami_tv.dll [2004-01-15 22:18:00-0600]
 ami_wpk.dll [2003-08-02 14:11:00-0600]
 ami_yahoo.dll [2003-07-27 01:05:00-0600]
 historypp_icons.dll [2008-11-03 23:34:24-0600]
 IconSet_Aim.dll [2003-12-14 19:21:00-0600]
 IconSet_BNet.dll [2003-12-14 20:13:00-0600]
 IconSet_EmLan.dll [2003-12-14 20:20:00-0600]
 IconSet_Gadu-Gadu.dll [2003-12-14 20:24:00-0600]
 IconSet_ICQ.dll [2003-12-14 20:26:00-0600]
 IconSet_ICQcorp.dll [2003-12-14 20:28:00-0600]
 IconSet_IRC.dll [2003-12-15 18:45:00-0600]
 IconSet_Jabber.dll [2003-12-15 18:47:00-0600]
 IconSet_Miranda.dll [2003-12-15 18:49:00-0600]
 IconSet_MSN.dll [2003-12-15 18:56:00-0600]
 IconSet_NetSend.dll [2003-12-15 18:58:00-0600]
 IconSet_Tlen.dll [2003-12-15 18:59:00-0600]
 IconSet_VyChat.dll [2003-12-15 19:24:00-0600]
 IconSet_Yahoo.dll [2003-12-15 19:25:00-0600]
 Mirana IM Main Icons.dll [2003-11-09 18:28:38-0600]
 miranda_xpmain.dll [2003-09-14 09:39:50-0600]
 netsend_icons.dll [2003-07-10 13:42:00-0600]
 Nicely2kMain.dll [2004-12-15 02:31:36-0600]
 proto_AIM.dll [2007-03-13 09:14:18-0600]
 proto_GG.dll [2009-08-01 15:22:38-0600]
 proto_ICQ.dll [2007-03-13 09:14:18-0600]
 proto_IRC.dll [2007-03-13 09:14:18-0600]
 proto_JABBER.dll [2007-03-13 09:14:18-0600]
 proto_MSN.dll [2007-03-13 09:14:18-0600]
 proto_Skype.dll [2004-11-03 20:16:02-0600]
 proto_YAHOO.dll [2007-03-13 09:14:18-0600]
 readme.txt [2003-09-14 09:59:14-0600]
 SkypeSmileys.dll [2005-08-22 17:31:30-0600]
 tabsrmm_icons.dll [2008-04-20 10:48:04-0600]
 xstatus_ICQ.dll [2009-10-21 16:04:56-0600]
 xstatus_jabber.dll [2009-10-21 16:05:06-0600]
[/size][/quote]

Other Resources:

Original issue reported on code.google.com by huf...@gmail.com on 13 Nov 2009 at 4:40

GoogleCodeExporter commented 9 years ago
Here's a diff that fixes it, for me. It does not read a setting or anything.
--- D:/Users/Hufman/AppData/Local/Temp/msgwindow.c-revBASE.svn000.tmp.c Fri Nov 
13
10:41:09 2009
+++ D:/Users/Hufman/miranda/miranda/plugins/Scriver/msgwindow.c Fri Nov 13 
10:14:57 2009
@@ -739,7 +739,7 @@
                dat->nFlash++;
            } else {// || ((GetActiveWindow() == hwndDlg) && (GetForegroundWindow() ==
hwndDlg))) {
                KillTimer(hwndDlg, TIMERID_FLASHWND);
-               FlashWindow(hwndDlg, FALSE);
+               FlashWindow(hwndDlg, TRUE);
            }
        }
        break;

Original comment by huf...@gmail.com on 13 Nov 2009 at 4:42

GoogleCodeExporter commented 9 years ago
Please use the attachment system in the future.

Original comment by sami%mir...@gtempaccount.com on 13 Nov 2009 at 4:53

GoogleCodeExporter commented 9 years ago

Original comment by leech.mi...@gmail.com on 13 Nov 2009 at 4:58

GoogleCodeExporter commented 9 years ago
Actually, I can't seem to replicate it on the latest SVN, so something must've 
changed.
Here's a modification of my patch to support a setting.

Original comment by huf...@gmail.com on 13 Nov 2009 at 8:27

Attachments: