warvair / peerblock

Automatically exported from code.google.com/p/peerblock
Other
0 stars 1 forks source link

"Optimum" size for main window (and its columns) #163

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1) The main windows size can be adjusted to be bigger, but there is a
hard-coded minimum size (which I like). Make the main window this minimum
size by default.

2) Also, limit the log window to 11 entries (that's the maximum of lines
that fit into the minimum window without any scrolling)

3) Also, make the main window's columns "optimal width" per default. E.g.
- Time
- Protocol
- Action
..can easily be set to the bare minimum they need, so there is more space for:

- Source
- Destination

The last column,
- Range
..will simply receive whatever space is left after adjustments.

Expected result:
Optimum use of space, no scrolling, no "hacked off" columns.

Original issue reported on code.google.com by frederic...@gmail.com on 14 Oct 2009 at 9:42

GoogleCodeExporter commented 9 years ago
Far too often I observe that the PeerBlock window size (based on user setting 
or preference) is lost on shutdown and re-start.  This includes where the 
window appears on the screen (relative position) and PeerBlock display size - 
absolute size (width and height).

Possibly the PeerBlock display area (width and height)could be embedded as a 
preferred setting by user - where even when the window position on the display 
may be lost (reverts to the PeerBlock default position - which may not be 
editable by user or need to be - but re-sizing of the PeerBlock Display Window 
over an over is a pain that should have to be done by user - as this likely 
could be an embedded user setting that is retained on startup.  Moving a window 
is much less of a problem than re-sizing it.  Moveover - it is ensuring we have 
the display show what we need or want to see over and over is retained - rather 
than the relative screen position - which has a nuisance effect - but less so.

HTH

Original comment by mpdoo...@gmail.com on 27 Feb 2012 at 10:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Regarding items 1 and 2: Optimum does not mean minimum. (I disagree with 1 and 
2 as stated.)

The optimal (for information display) size of everything is dependent upon your 
display font, size, etc. Any fixed size (or presumption about how many X's fit) 
is generally a poor solution. I don't know whether the current minimum window 
size you refer to takes display settings into account, but if it doesn't then 
the minimum is most certainly not the optimum.

Windows should default to the same dimensions (and position) that they each had 
the last time they were displayed. If you found you had to keep reminimizing 
your window's size it'd beg the question: Is the minimum really as optimal as 
you think it is? (Your behavior would suggest otherwise.) If you don't want to 
see a vertical scroll bar, leave your window at its minimum size and your log 
length at however many rows fit within that minimum given your display settings.

Auto-sizing columns roughly as you've described, however, I agree with.

If the window size were to default to anything other than the most recent, it 
would make sense for it to be the size necessary to contain the (auto-sized) 
columns without scroll-bars. This is not necessarily the current minimum size 
you refer to.

Original comment by wearenot...@gmail.com on 14 Aug 2012 at 12:05