Official eMule-Board: Kad Toolbar's Main Button Shrinks - Official eMule-Board

Jump to content


Page 1 of 1

Kad Toolbar's Main Button Shrinks emule 0.50a

#1 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 16 April 2010 - 09:45 PM

after some time, emule 0.50a shrinks the toolbar's main button
(the same toolbar is used in transfers and it doesn't shrink afaik...)

Posted Image



btw, can you add a tooltip or something with info on latest search (type+string) in kad's graph?

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#2 User is offline   Some Support 

  • Last eMule
  • PipPipPipPipPipPipPip
  • Group: Yes
  • Posts: 3667
  • Joined: 27-June 03

Posted 16 April 2010 - 09:59 PM

About the bug: I saw it too once, but if it doesn't seems to happen often. If you stumble accros how to reproduce it that would help to get it fixed.

Quote

btw, can you add a tooltip or something with info on latest search (type+string) in kad's graph?

The kad graph shows always the search which is selected in the "Current searches" list (if set to automatic it gets selected by eMule, otherwise by the users himself) and you can find all the information about the search there.
Only exception is of course if the search is already deleted, but i don't think it is worth adding a tooltip for this (given that the grpah already has tooltips for other informations).

#3 User is offline   omeringen 

  • löl
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 984
  • Joined: 01-January 06

Posted 17 April 2010 - 05:14 AM

Yeah, same here. Not that much, i have seen it only two times. Couldn't reproduce it again.
0

#4 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 17 April 2010 - 09:08 PM

i'm not sure, but i think it shrinks when it's on the contact list, not the graph.
haven't checked the code, but it fits the text contacts (xxx).
funny enough, as i write i noticed it resized back when it was on the graph...


about the feature req, you can add some more info in the existing tooltip when hovering a node
and show request/answer type(search/notes/contacts)+term(search string/hash).
it's useful while the search is running as well :)

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#5 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7983
  • Joined: 20-August 08

Posted 18 April 2010 - 02:25 PM

I've already reported that in the beta forum...
Sometimes the new buttons disappear also:


Posted Image


I had a file with "Ã +" in the filename (it's long about 40 characters) and i saw that it was in the name column of the kad tab (maybe a "search keywords" item?), but i don't know if it could be the culprit.
I always change the language and mess with the ipfilter, also.
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa! Immagine Postata
0

#6 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7983
  • Joined: 20-August 08

Posted 18 April 2010 - 07:58 PM

Another... When kad is disconnected, kad graph will not erase itself:


Posted Image

INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa! Immagine Postata
0

#7 User is offline   Some Support 

  • Last eMule
  • PipPipPipPipPipPipPip
  • Group: Yes
  • Posts: 3667
  • Joined: 27-June 03

Posted 18 April 2010 - 08:04 PM

Quote

Another... When kad is disconnected, kad graph will not erase itself:

Not excactly a bug, but will probably be changed.

#8 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7983
  • Joined: 20-August 08

Posted 18 April 2010 - 08:10 PM

ok boss :worthy:
INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa! Immagine Postata
0

#9 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 20 April 2010 - 09:13 PM

i'm not sure how to reproduce this but sometimes when the title changes,
the width of the button changes as well according to the title's supposed length.
saw the code and i think it's related to CDropDownButton::SetWindowText() though i'm not 100% sure...
(so either the size should be const or something)
btw, my system is xp+sp3 in hebrew if it helps... :flowers:

Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#10 User is offline   lorenzone92 

  • MultiformeIngegno
  • PipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 321
  • Joined: 18-January 06

Posted 22 April 2010 - 02:29 PM

Uhm.. weird bug!
RockCiclopedia (wiki - forum - extra)
Tutta la storia del rock, scritta da voi ...
Posted Image
...iscriviti al feed di RockCiclopedia dedicato alle ultime news del mondo della musica!
...scarica la toolbar, per rimanere sempre aggiornato e partecipare attivamente alla community!

MultiformeIngegno | Blog, Il blog del solito cialtrone di turno..
0

#11 User is offline   xilolee 

  • eMule 0.50b BETA1 user
  • PipPipPipPipPipPipPip
  • Group: Italian Moderators
  • Posts: 7983
  • Joined: 20-August 08

Posted 08 July 2010 - 04:04 AM

Ok, maybe i found how to reproduce this...
1) Set the screensaver on 1 minute, open emule, kad tab, wait for the screensaver, and the button will be resized...
2) Open emule, kad tab, open the desktop properties, press ok, and the button will be resized...

xp+sp3, so do I.

This post has been edited by xilolee: 08 July 2010 - 04:21 AM

INCONCEIVABLE! - You keep using that word. I do not think it means what you think it means.
come ottenere aiuto italian guides - guide della sezione italiana
italian support - sezione italiana scaricare la lista server
ottenere id alto impostare le porte nel router
recuperare file corrotti i filtri ip
Sembra talco ma non è serve a darti l'allegrIa! Se lo lanci e poi lo respiri ti dà subito l'allegrIa! Immagine Postata
0

#12 User is offline   Avi-3k 

  • hebMule [retired] dev
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1127
  • Joined: 25-June 03

Posted 09 July 2010 - 10:16 PM

i'm guessing this is because the system sends eMule a repaint notification of some sort,
and the button update of the text causing the resize (like i wrote above)

thanx xilolee :)
Avi3k
retired developer of hebMule and eMule Skinner...
hebMule site and topic.
hebMule2 unique features: AntiLeech, AntiVirus, Fake Check, ServerFilter, WebSearches, Export Searches, Relative Priority, ModID and much much more...

eMule Skinner is an application to create/edit skins for eMule,
it's multilingual, supports mods, easy-to-use design, integrates to hebMule & Windows and lots more...

code fixes/improvements: #1, #2, #3, #4, #5, #6, #7, #8, #9, #10, #11 (to check/verify: #12, #13).
0

#13 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4974
  • Joined: 13-May 07

Posted 30 July 2015 - 09:09 PM

View PostSome Support, on 17 April 2010 - 12:59 AM, said:

About the bug: I saw it too once, but if it doesn't seems to happen often.

It happens every time when display settings change.
The easiest way to create such event might be using Wait time control in system's Screen Saver dialog.

That is: start eMule, switch to Kad tab and open Screen Saver dialog.
Now change Wait time, press Apply - and the button in eMule shrinks.

I got MS test application and tried to imitate 3-button setting of eMule with very wide first button using it's ToolBar example code. The button did not shrink on the same event.
That means the problem might be somewhere in the code which tried to fix incorrect behaviour of ComCtrl dll.
0

#14 User is offline   fox88 

  • Golden eMule
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 4974
  • Joined: 13-May 07

Posted 03 August 2015 - 07:45 PM

Not very elegant fix, loosly based on TransferWnd code.

File KademliaWnd.h
Add private data member:
private:
	bool	m_btnsetsize = false;

and one line to the message map:
afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);


File KademliaWnd.cpp
Add corresponding line to the message map:
	ON_WM_SETTINGCHANGE()

insert code at the beginning of PretranslateMessage():
BOOL CKademliaWnd::PreTranslateMessage(MSG* pMsg)
{
//begin
	if (m_btnsetsize) {
		m_btnsetsize = false;
		if (m_pbtnWnd && m_pbtnWnd->m_hWnd && m_pbtnWnd->GetBtnWidth(IDC_KADICO1) != WND1_BUTTON_WIDTH)
			m_pbtnWnd->SetBtnWidth(IDC_KADICO1, WND1_BUTTON_WIDTH);
	}
//end
	if (pMsg->message == WM_KEYDOWN)
...

and finally, add method to process setting change:
void CKademliaWnd::OnSettingChange(UINT uFlags, LPCTSTR lpszSection)
{
	CResizableDialog::OnSettingChange(uFlags, lpszSection);
	m_btnsetsize = true;
}

0

  • Member Options

Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users