Forum for English speaking Miranda NG users > Support/Help

Popup plus + scriver: lost options in dialogs

(1/2) > >>

Ducados:
Hi.

After upgrading from Miranda IM and using it a bit, I've found that I have a popup every time I get a message, even when the window that gets the message is open and focused.

I'm using Scriver as the message window manager and have NewEventNotify installed and activated. Both, as does Popup Plus, use the same settings that I had in Miranda IM. I've double checked this by comparing the databased side by side and going through the options dialogs.

In IM, I had the whole thing configured so that the message popup only shows if the message window of a particular contact is not open (because the blinking taskbar icon is enough to notice it in such case). I seem to remember that this was done (in MIM) unticking and option called "Process Clist events" which was right over the "Reorder popus" tick box under the group "Miscellaneous" in the "General" tab under main "Popups" branch in the options tree. It is missing now.

AFAIK, it controls Popup > EnableHookClistEvents in the DB. The entry is there, but it doesn't seems to have any effect. It may be a leftover from my upgrade.

Digging through the options, I've found one that looks like the thing I'm searching for. It is a tickbox called "Don't show Popup when Message-Dialog is already open" in the group "Message-Event only" in Popups > Eventy notify. Sadly, I can't see any changes when it is enabled (it was after the upgrade, BTW).

So, it is possible to avoid showing popups when the message window is already open when using Scriver + Popup Plus + NewEventNotify?

TIA and best regards.

watcher:
"Process Clist events" checkbox was removed entirely with its code long time ago, so it can't have any effect. But i'm not so sure about NewEventNotify proper work.

Ducados:
Hi, watcher.

--- Quote from: watcher on 05 12 2013, 08:16:28 --- "Process Clist events" checkbox was removed entirely with its code long time ago, so it can't have any effect.
--- End quote ---

Ok. Good to know.
 
--- Quote from: watcher on 05 12 2013, 08:16:28 ---But i'm not so sure about NewEventNotify proper work.
--- End quote ---


At least "Don't show Popup when Message-Dialog is already open" doesnt work. Is this plugin development active?

watcher:

--- Quote from: Ducados on 05 12 2013, 08:36:59 --- Is this plugin development active?
--- End quote ---

Not that i'm aware of.... but it can be looked at.

Ducados:
 Well, I have no idea about programming, but I've looked at the source code of NewEventNotify and found this at http://svn.miranda-ng.org/main/trunk/plugins/NewEventNotify/src/main.cpp:


--- Code: --- //which status do we have, are we allowed to post popups?
//UNDER CONSTRUCTION!!!
CallService(MS_CLIST_GETSTATUSMODE, 0, 0); /// TODO: JK: ????

if (dbe.eventType == EVENTTYPE_MESSAGE && (pluginOptions.bMsgWindowCheck && hContact && CheckMsgWnd(hContact)))
return 0;
--- End code ---

bMsgWindowCheck is the option set by the "Don't show Popup when Message-Dialog is already open" tick box. Looks like it is incomplete code. This might explain why the option does nothing.

Also, at the end of the file there is this:


--- Code: ---//---Check Window Message function

// Took this snippet of code from "EventNotify" by micron-x, thx *g*
// checks if the message-dialog window is already opened
// return values:
// 0 - No window found
// 1 - Split-mode window found
// 2 - Single-mode window found

int CheckMsgWnd(HANDLE hContact)
{
if (g_IsSrmmWindowAPI) {
MessageWindowData mwd;
MessageWindowInputData mwid;
mwid.cbSize = sizeof(MessageWindowInputData);
mwid.hContact = hContact;
mwid.uFlags = MSG_WINDOW_UFLAG_MSG_BOTH;
mwd.cbSize = sizeof(MessageWindowData);
mwd.hContact = hContact;
if (!CallService(MS_MSG_GETWINDOWDATA, (WPARAM) &mwid, (LPARAM) &mwd))
if (mwd.hwndWindow != NULL && (mwd.uState & MSG_WINDOW_STATE_EXISTS))
return 1;
}

return 0;
}
--- End code ---

It seems that the developer borrowed the code to detect if the message window is already opened from another plugin. This may have happened ages ago. This code must be more than outdated.

Navigation

[0] Message Index

[#] Next page

There was an error while thanking
Thanking...
Go to full version