logo
IRC Archive / Freenode / #pidgin / 2010 / May / 17 / 2
BigBrownChunx
its windows-specific
briswolf
or at least allusing to it?
alluding*
yes but I didn't know there was a window specific part to the FAQ
Thanks for the help, things look *almost* the same now. The font is a tiny bit different but I'll live
BigBrownChunx
:)
briswolf
I guess the themes can't easily be packaged with pidgin for windows, since the installer downloads GTK at install time
perhaps the themes + theme chooser could be installed in a similar fashion?
I just think you will have plenty of confused people like me, although maybe people put up with the default theme
dollarbang
it worked, I was able to copy the .profile directory on a W7 32b PC to a W7 64b PC, install Pidgin, start it, get my IM's online as well as IRC chat.
isez
any insight as to why I can no longer get Pidgin to flash the taskbar entry when a conversation receives a new message? (problem since upgrade to 2.7.0, from whatever the previous release was, on WinXP)
QuLogic
known bug
isez
der... I should learn to check bugs before I bother y'all here... thanks QuLogic
jemaltz
there's a patched DLL on the bug tracker, I do not recall the ticket ID though
BigBrownChunx
http://developer.pidgin.im/ticket/11842
jemaltz
QuLogic: re: http://developer.pidgin.im/ticket/2629 , the original ticket adds --enable-gtkstatusicon and overall has changes in it for adding a docklet to the OS X menu bar...the ticket is closed, but that flag is not part of 2.7.0, and the docklet does not appear on OS X compiled as-is
did I miss a change?
QuLogic
the flag is unnecessary, it's always used
I can't say why it wouldn't show up at all, though
do other GTK+ applications work?
jemaltz
it worked when those patches were applied via macports (pre-2.7.0)
well, pidgin works, there's just no docklet
QuLogic
I doubt there would be anything much different from that, if it actually used GtkStatusIcon
clearly I was referring to other GTK+ applications with a docklet
jemaltz
:) well, I don't have any others installed...I can try some things though (and I will note, re-installing pidgin 2.6.6 does work with the docklet)
QuLogic
that's totally irrelevant, though
jemaltz
I'm not clear why, but more to the point, is there an application you can think of that would test it?
isez
jemaltz: do you know why the updated DLL is significantly larger than the 2.7.0 version (3.22MB vs. 894KB, respectively)
QuLogic
isez: it includes debugging symbols
jemaltz: there's a teststatusicon thing that comes with GTK+, but you'd probably have to compile that yourself
isez
QuLogic jemaltz: thanks, problem solved and I'm a happy user again :-)
jemaltz
I'll build it outside of macports, but using their binaries/libs/etc
(i.e. outside of the "port" system)
Hellhammer
When ever I try and install the new pidgin it tells me it can't get the new GTK runtime and when i cancel the GTK download i get a plugin error that crashes the program
What do i do?
BigBrownChunx
just keep clicking retry until you get it, or download the offline installer
Hellhammer
I've tried multiple installs it seems unreachable
jemaltz
use the offline installer
QuLogic: teststatusicon works
QuLogic
and you actually have the icon enabled in the preferences?
Always or On Unread Messages?
jemaltz
always
and, as mentioned, previous versions of pidgin work with the current prefs
QuLogic
does toggling the pref show anything in the debug window?
jemaltz
how can I open the buddy list window without the docklet?
deryni
You can't see the buddy list window?
jemaltz
no
deryni
But pidgin is running?
jemaltz
yes
deryni
That shouldn't be possible without also having the docklet somewhere.
jemaltz
it prompts me for account passwords; account data is saved for IRC which auto-connects
if I were to guess, I had the buddy list window hidden before I upgraded
thus it's just retaining the setting
deryni
Right, but we have code to force the window to be visible if no docklets exist.
jemaltz
I do not see either.
deryni
Yeah, then I'd check the debug window output from when pidgin starts. If you built with dbus you should be able to use that to force the list window back open also.
jemaltz
(23:42:40) GLib-GObject: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(23:42:40) docklet: GTK+ created
ah I missed the message before that...I'll pastebin to avoid spamming
garimbo
jemaltz pasted "(23:42:40) gtkblist: added vis" (8 lines) at http://www.pidgin.im/nopaste/109
QuLogic
that first thing could be a problem...
you need <prefix>/share/pixmaps/pidgin/tray/hicolor/<size>x<size>/*
deryni
If that's failing it isn't failing hard enough or we aren't catching the failure right.
jemaltz
QuLogic: I have those
QuLogic
and /usr/share/icons/hicolor/index.theme?
jemaltz
that's missing
QuLogic
you need the hicolor theme, then
jemaltz
where can I attain that?
QuLogic
deryni: I don't think there's anything that can be done about that
it just happens that the GtkStatusIcon is the only thing that looks up icons by name
deryni
QuLogic: I mean if that error is preventing the docklet from working we need to catch that so we can yank the visibility manager.
QuLogic
the only way to do that would be to try and load an icon ourselves, I think
deryni
We don't need to care what the error actually is, just that the GtkStatusIcon isn't actually going to exist.
We check gtk_status_icon_new for returning NULL, but this appears not to be doing that.
QuLogic
yes, but it does exist
it just has no icon
deryni
Not visibly.
Unless it is visible with a broken icon and jemaltz just didn't realize that's what it is.
Cobalt
It might be something to do with where the icon files are put.
QuLogic
it should have the broken icon, but he doesn't have the default fallback theme
jemaltz
deryni: there's nothing to click
Cobalt
I had a similar issue with the packages built for Ubuntu last night.
deryni
QuLogic: You mean to load the broken image icon from?
QuLogic
deryni: yea, that should be in hicolor
jemaltz
QuLogic: I mean, I have the files, i.e. pidgin-tray-available.png...so it seems like something with pidgin?
deryni
Then I'd call that a bug in GtkStatusIcon since it should know it can't display anything it should fail hard.
Cobalt
Howerver, darkrain said it had something to do with a patch made by Ubuntu that he'd failed to remove, so I don't know if it's in the 2.7.0 source, or just the PPA package.
jemaltz: ^
deryni
Since we can't tell that once it returns a valid GtkWidget.
QuLogic
oh, maybe we can check gtk_status_icon_is_embedded
I'm not sure whether that cares about the icon, though
deryni
That's probably a good idea, but I'd still argue returning non-NULL for a status icon that they know isn't working is a bug.
Cobalt
deryni: The effect for me was that Pidgin would start, but the icon showing in the tray would be the 'image not found' icon, of a blank picture frame.
QuLogic
Cobalt: your issue is unrelated
deryni
Cobalt: Right, but that's at least present, his doesn't even have that and he says it isn't present at all.
Cobalt
Fair enough, but it seemed similar.
deryni
What's the point of embedding an icon that has no image and is, for all intents and purposes, not actually there?
jemaltz
when reading Cobalt and deryni's exchange, it sounded very similar
err darkrain's exchange*
Cobalt
deryni: Might be the case, because mine falls back on a hicolor 'picture not found' icon, whereas he doesn't even have that installed.
deryni
Right.
I'm fine with a picture-not-found docklet being considered valid.
I'm not fine with one that has no icon and doesn't display being considered valid.
Cobalt
deryni: It might be doing that because the fallback icon does not exist in jemaltz's case, because he's on a Mac and does not have the usually default-installed hicolor icon theme or something.
deryni
Right, I understand why we believe we are getting a no-icon docklet.
I'm arguing that I consider GtkStatusIcon handing us back such a docklet a bug and that we should be doing more to verify that we actually have a docklet since this can happen.
jemaltz
is there a location I can check for the fallback icon?
Cobalt
deryni: Makes sense.
darkrain
Delete some other icons Pidgin uses and see if you get the "broken image" image there :)
deryni
Heh.
Cobalt
jemaltz: The theme itself seems to reside in /usr/share/icons/hicolor.
jemaltz
sorry for the logic creeping in, but if pidgin can load some icons, shouldn't it be able to load them all?
darkrain
(I have to imagine that image is built in to GTK+ at some level, instead of being an on-disk image, but maybe that's just me)
Cobalt
darkrain: Or copy the appropriate files in the places Pidgin expects it at.
darkrain
That's always harder to figure out :)
Easier to break things than put them together, or something like that.
jemaltz
well, here goes renaming a parent directory :p
Cobalt
jemaltz: What do you have in the directory /usr/share/pixmaps/pidgin/tray?
QuLogic
Cobalt: please, you're twenty minutes behind already
jemaltz
I do, but it's at /opt/local/share/pixmaps/pidgin/tray
Cobalt
QuLogic: Don't mind me, I just woke up. :P
jemaltz: PM me the contents of the folder.
QuLogic
Cobalt: we've already established what the problem is
Cobalt
Just out of curiosity.
jemaltz
right then, I just renamed hicolor to hicolor.h, and I still have all pidgin icons (that I can see, like at the password screen)
Cobalt: one moment
Cobalt
Yeah, but I was wondering if the fix I cobbled together last night might work for him, pending a code change or something.
QuLogic
no, it won't
Cobalt
How do you know that? :P You don't even know what I did.
QuLogic
deryni: GtkStatusIcon does not know whether it's embedded immediately after it's created
jemaltz
Cobalt: I PMed you, not sure if it went through though
QuLogic
it seems like it happens when we set the icon (which we don't do on create)
let me try one more thing, though
deryni
We had a timeout/delay in the X11 icon creation because embedding could take a little time also.
QuLogic
anyway, embedding is not the problem, it's broken packaging that is
deryni
We have a problem if we can believe we have an embedded icon when we don't.
Separate from whatever manages to cause that.
QuLogic
yes, aside from that
luipugs
hello. is there a way to remove the attention button in pidgin 2.7.0?
darkrain
No, however you can disable the entire bar.
luipugs
aww. not the answer i was hoping for.
deryni
Is there something different about the attention button that you want the ability to remove it specifically and not any of the other buttons specifically?
jemaltz
darkrain: I realized that I didn't rename the correct folder: I actually do get the "broken image" icon for missing pidgin icons (aka for the password dialog)
Jouva
Is anybody familiar with jabber transport services?
deryni
Ask, don't ask to ask.
luipugs
@deryni. it increases the minimum width of the conversation window. i like the original width because i only have a small screen, and i have other windows open that need the width more.
also, i don't even use the attention button.
rekkanoryo
you *could* always just hide the formatting toolbar
luipugs
i like the smile button.
rekkanoryo
that would also allow you to reclaim some vertical space
deryni
luipugs: Right, but that doesn't answer the question, unless the answer is "I'm used to the size it used to be".
Cobalt
There's a plugin that allows you to resize the _buddy list_ to any size. Might be possible for the conversation window also?
deryni
I'm not sure it does the magic for the conv window but the same magic could be done.
luipugs
what plugin is that?
rekkanoryo
that plugin currently does not
Cobalt
Is there a shortcut/hotkey to bring up the smileys if you've got the toolbar disabled?
rekkanoryo
however, it doesn't always work correctly for the buddy list anyway
Cobalt
luipugs: The plugin just works on the buddy list.
luipugs: You'd be okay if you disabled the toolbar and had a keyboard shortcut to bring up the list of smileys. Try looking into that.
rekkanoryo
Cobalt: no, the Smile button is the only way to grapically insert smileys
Jouva
Basically I want to use IM transports on my gtalk account so that I can hopefully get a more efficient method of having an IM program that is up on my android device. But I don't ALWAYS want to be using the transport.
Cobalt
rekkanoryo: Makes sense. Still.
Jouva
I forget if there's a way to "disconnect" from the transport so to speak without completely unregistering the transport
deryni
Jouva: Sending it directed unavailable presence should do that as long as things are managed correctly, but beyond that I'm not sure.
jemaltz
whoa, copying the "index.theme" fixed it...ish
Jouva
hmmm
jemaltz
now the tray icon is quite large, but it's there
and it does not have a context menu
and the behavior is all screwy
QuLogic
jemaltz: are you building pidgin from source?
jemaltz
okay, performing a proper install of hicolor-icon-theme seems to resolve the weird behavior (on a quick glance), but the context menu is still missing; clicking the icon merely toggles a visible buddy list
QuLogic: I built pidgin from source, then installed the hicolor theme
QuLogic
you need to right-click to get the menu (which is different on a mac, I realize)
jemaltz
I know that much :) but right-clicking does not reveal the context menu (which, again, it used to)
and the docklet is using the old icons, like the smiley for a new message
QuLogic
there are no new icons for size!=22
jemaltz
I guess that the old versions used size == 22 then
QuLogic
what version of GTK+ is it?
jemaltz
2.18.8
QuLogic
deryni: so either this was fixed in one minor release (I have 2.18.9) or this is macport specific, because I still get a fallback icon even if I don't have a hicolor/ directory
deryni
Yeah, the icon being mising is odd. I'd definitely have expected it to be built-in not disk-loaded, like darkrain said.
jemaltz
deryni: as I said, I get the broken image icon when other graphics are missing
deryni
Right, but all of this doesn't change the fact that there is a way for GtkStatusIcon to fail that we aren't noticing.
Which is my main issue.
garimbo
QuLogic pasted "Docklet embed timeout" (99 lines) at http://www.pidgin.im/nopaste/111
QuLogic
jemaltz: can you try that patch, then?
you'll need to remove the hicolor theme, though, because I can't get it to break
deryni
I'm assuming you just grabbed most of that from the x11 docklet code?
QuLogic
basically, yea
except GtkStatusIcon doesn't have an embedded signal
jemaltz
well this is strange...when I load pidgin, it creates a second thread, and then another "pidgin" process temporarily
the second process terminates but the child thread remains
darkrain
The process is for DNS lookups
The thread may be gstreamer (or some other external library or third-party plugin)
jemaltz
ah alright. QuLogic: I will rebuild with that patch
darkrain: no gstreamer here
QuLogic
it won't fix the icon, but pidgin should force itself visible if it determines there's no icon (hopefully)
jemaltz
building now..
QuLogic: any ideas about the context menu?