Log in

No account? Create an account
LogJam [entries|archive|friends|userinfo]

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Feature request and bug report [Nov. 10th, 2003|05:11 pm]


[Current Mood |accomplished]
[Current Music |The Who -- Trick Of The Light]

First, the feature request:  I always (and I mean always, always, always, ALWAYS) hand-format my posts.  This means I have to manually go to the Entry->Options submenu and turn on <preformatted> for every post.  What would it take to add an option in, say, LogJam->Preferences->User Interface for "Always preformat posts by default"?  The way I see it, checking this option would cause the Preformatted option under Entry->Options to always be turned on.  If you wanted to let LJ format a post, you could go and turn it off for that post, but then it aould automatically be turned back on again for the next new post.  (In other words, checking this option would exactly reverse the current behavior as regards preformatting.)

Now on to the bug report:  I have observed that if I select Entry->Security->Custom, with no friends groups defined, I get an empty "Select Friend Groups" list dialog (as it should be).  When I close that dialog, LogJam dies with the following error:

(logjam:4146): Gtk-CRITICAL **: file gtkliststore.c: line 566 (gtk_list_store_get_value): assertion `GTK_LIST_STORE (tree_model)->stamp == iter->stamp' failed
(logjam:4146): GLib-GObject-WARNING **: gtype.c:2967: type id `0' is invalid
(logjam:4146): GLib-GObject-WARNING **: can't peek value table for type `' which is not currently referenced

I'm using LogJam 4.2.4, built against gtk+-2.2.1 and glibc-2.3.2 using gcc-3.2.2 on a Slackware-based Linux machine.


From: geekosaur
2003-11-10 02:40 pm (UTC)
As a workaround for the missing feature: I found it convenient to set up an empty post with the desired settings, give it a subject identifying it, and Save As->Draft. Then I could load the draft any time I wanted to use those settings; Logjam doesn't permanently associate posts made from a draft with the draft itself (at least if you change the subject; didn't test with the same subject), so you can just keep re-using the draft forever without doing anything special to clear it out or etc.
(Reply) (Thread)
From: evan
2003-11-10 04:02 pm (UTC)
i could've sworn someone sent in a patch for that crash...

will fix (and consider your feature request).
(Reply) (Thread)
[User Picture]From: unixronin
2003-11-10 04:15 pm (UTC)


I just found the prior reference, on August 23, about two months after the 4.2.4 release.  This mentions the patch having been applied "recently" ... presumably it came in after the 4.2.4 release, so it may actually be already fixed.

I'll see if I can snag a copy of current CVS and see if it's fixed there.

(Reply) (Parent) (Thread)
From: evan
2003-11-10 04:56 pm (UTC)

Re: Thanks

CVS is in a transitionary state, so watch out... (I have a huge change waiting to be committed but I'm stuck on other projects).
(Reply) (Parent) (Thread)
[User Picture]From: gaal
2003-11-10 05:03 pm (UTC)
The feature is easy enough, but how about taking geekosaur's nice idea and extending it a bit to provide generality that prevents featurism?

We can just add one hook to an external program that outputs a message template. This hook is triggered on every New document. This could do what unixronin wants, plus automatically detect music (using xmms-client), add a random quote, do any other formating,[1] etc.

[1] e.g., until http://zilla.livejournal.org/show_bug.cgi?id=559 is finally closed...
(Reply) (Parent) (Thread)
From: (Anonymous)
2003-11-12 07:43 pm (UTC)
Hey, I'm not too good with the html stuff. I can do basics, i.e. bold, italic, marquee, the easy crap. I was wondering if someone could help me with my journal layout. Just make it different. Colored scroll bar, Different mouse, blur the links when you slide over them. The whole shi-bang. If anyone is interested please email me here..

(Reply) (Thread)