Harry Putnam | 3 Jun 2002 08:01
Favicon

gnome/sawfish title bar size

Having troube finding what controls the size of a title bar on a
frame (window).

Currently the font I've set seems too big for the title bars but its
the size I want.  How can I make the title bar accommodate the font?

I'm using the style of brushed metal/clean  or something very similar
to that.  I've posted a screen shot showing the small title bar with
text inside here: 
  http://www.jtan.com/~reader/exp/title_bar.png

I'd like to make the shaded area big enough for the font.

Re: gnome/sawfish title bar size

reader <at> newsguy.com (2002-06-02 at 2301.10 -0700):
> Having troube finding what controls the size of a title bar on a
> frame (window).

The theme, or to be exact, how it is coded. Sometimes it is fixed
(this one is, it seems), sometimes the user defines the size (nice
option) and sometimes the theme chooses the size based in the font
size (also nice, and simpler for the user).

> I'm using the style of brushed metal/clean  or something very similar
> to that.  I've posted a screen shot showing the small title bar with
> text inside here: 
>   http://www.jtan.com/~reader/exp/title_bar.png

Looks like brushed-metal theme. If so, you will have to hack the
theme.jl file to make the title bigger (images used in the title area,
including the buttons). That or choose another theme that follows the
font size.

GSR

Dominic Sacré | 3 Jun 2002 17:43
Picon
Picon

Sticky windows again - a bug?

Hi,

I've found something which looks like a bug in sawfish. When a non-sticky 
window is hidden, and then shown again, it will magically become sticky. 
I'm using Sawfish 1.0.1.

Here's a simple program showing the problem. Start the program, and just 
click the button. Suddenly the window will be sticky...

    Dominic

----------------------------------------
#include <gtk/gtk.h>

void hide_show (GtkWidget *button, gpointer window)
{
    gtk_widget_hide (window);
    gtk_widget_show (window);
}

void destroy (GtkWidget *widget, gpointer data)
{
    gtk_main_quit ();
}

int main (int argc, char **argv)
{
    GtkWidget *window,
              *button;

(Continue reading)

Jonas Aaberg | 4 Jun 2002 13:40
Picon
Picon

Xview large pictures makes sawfish 1.0.1 crash


Dear 

Somedays ago I installed sawfish and today I found a
nasty bug.
Fortunally, it is very easy to reproduce. I ran xview
on a picture that was 1600x1200 using a screen resolution
of 1200x1024. I guess the error has something to do that
xview wants a larger window than the physical size of
a the screen.
in any terminal:
$ xv bigpicture.jpg

Notice, it only crashes when you give a picture on the
command line. Viewing it otherwise works with such
large pictures.

When sawfish dies it prints out this:
-------------------

struct debug_buf common:

Backtrace in 'fatal_signal_handler':
	  <__libc_sigaction+504>
	  <abort+209>
	  <__gmp_assert_fail+71>
	  <__gmp_rand+278>
	  <__gmpz_urandom+207>
	  <Fnumber_to_string+391>
	  <Frandom+160>
(Continue reading)

Kenneth Jacker | 4 Jun 2002 14:40
Favicon

Re: Sticky windows again - a bug?

  dominic> I've found something which looks like a bug in sawfish.
  dominic> When a non-sticky window is hidden, and then shown again,
  dominic> it will magically become sticky.  I'm using Sawfish 1.0.1.

I, too, have recently noticed that "stickiness" has kind of spread.  I
first saw it weeks ago with /Netscape/; the opening of the "Bookmarks"
window created it with a "sticky" property.

Now, when I fire off a new /xterm/, it also has a default "sticky"
property. Yet, it doesn't happen on all newly created windows (e.g.,
/tkcon/). Strange! (and very undesirable).

This is occurring on an up-to-date RH7.2 system with sawfish-1.0.1-1.

Hopefully someone has an idea about what's going on ...

Thanks,

--

-- 
Prof Kenneth H Jacker       khj <at> cs.appstate.edu
Computer Science Dept       www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA        

Rich Rudnick | 5 Jun 2002 02:45
Picon
Favicon

What can we expect with Gnome 2?


I'm using debian experimental and occasionally testing garnome (for my
own amusement, not because I can provide useful bug reports yet), and
miss a few things from the old sawfish, only one of which really
matters. I run a celeron 466, and opaque moves/resizes are ugly and slow
on my hardware. How do I tell the gtk2 sawfish to do box resizes/moves?
Can I?

Re: What can we expect with Gnome 2?

rrudnick <at> sbcglobal.net (2002-06-04 at 1745.26 -0700):
> on my hardware. How do I tell the gtk2 sawfish to do box resizes/moves?

Having the following lines in .sawfish/rc should give you box mode
(create the file if you do not have it).

---8<---
(setq resize-outline-mode 'box)
(setq move-outline-mode 'box)
--->8---

GSR

John Harper | 5 Jun 2002 17:45

Re: Xview large pictures makes sawfish 1.0.1 crash

Jonas Aaberg writes:
|When sawfish dies it prints out this:
|-------------------
|
|Backtrace in 'fatal_signal_handler':
|	  <__libc_sigaction+504>
|	  <abort+209>
|	  <__gmp_assert_fail+71>
|	  <__gmp_rand+278>
|	  <__gmpz_urandom+207>
|	  <Fnumber_to_string+391>
|	  <Frandom+160>
|	  <rep_lispcmds_init+3869>
|
|Lisp backtrace:
|#2   random ...
|#1   place-window-randomly ...
|#0   place-window (#<window a00251>)

What versions of gmp and librep do you have installed? If they aren't
the most recent, upgrade and try again

Also, try running rep and evaluating (random 0) and (random 1). Does it
crash?

	John

John Harper | 5 Jun 2002 17:41

Re: Sticky windows again - a bug?

Kenneth Jacker writes:
|  dominic> I've found something which looks like a bug in sawfish.
|  dominic> When a non-sticky window is hidden, and then shown again,
|  dominic> it will magically become sticky.  I'm using Sawfish 1.0.1.

I'm not totally sure, but I think this may have been fixed in the cvs
version a while ago,

	John

John Harper | 5 Jun 2002 17:48

Re: Changing the default cursor

Val W. Harris writes:
|I'm running a RedHat 7.2 system with Sawfish-0.38-11.  I'm trying
|to  change my default cursor.  My .sawfishrc file consists of:
|
|(require 'sawmill-defaults)
|(default-cursor 'dot)

Try (default-cursor (get-cursor 'dot))

	John


Gmane