Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-15 Thread mat

Le 14. 09. 10 16:30, Thomas Friedrichsmeier a écrit :

Hi,

On Tuesday 14 September 2010, Prasenjit Kapat wrote:
   

I see that Thomas has added a new settings in Configure  Onscreen
device. Can you try the svn code if it helps?
 

I've also added a bit of logic that tries to detect when the window is too
large to fit on screen, and points to the settings in this case. This should be
available in the next daily builds. Perhaps you can give that a try, to see
whether the message is shown for you (and of course whether the new settings
work for you).

Making the windows smaller by default is not really a satisfying alternative.
Whether the window is too large or too small depends on a lot of factors,
including your screen resolution, what the X-server believes to be the
physical size of your display, and user settings such as the location and size
of your task bar, etc. So what's too large for you is just right for another,
and already too small for a third user. And the more we shrink the window by
default (at least in width), the more likely we are to run into problems with
some of the toolbar icons dropping off to the right, on other users screens.
   
great! I got a message first time plot was launched, and followed advice 
to go to configure, and now it works fine!!


good job, thanks!


   

@ Thomas: the width and height are declared as 'int'. By choice? I
don't mind it, I am just curious.
 

I simply didn't think about it. Changed in SVN.

Regards
Thomas
   



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev


___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel
   


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-14 Thread Prasenjit Kapat
On Mon, Sep 13, 2010 at 10:22 AM, mat matthieu.stig...@gmail.com wrote:
 Le 09. 09. 10 15:25, Thomas Friedrichsmeier a écrit :

 On Thursday 09 September 2010, Matthieu Stigler wrote:


 please find in:
 /home/fao/Dropbox/Public/CaptureRkwardPlot.png


 For reference for others, here's the public url:
 http://dl.dropbox.com/u/6113358/CaptureRkwardPlot.png

 Ok, so the plot window is too high to fit into the available space at all.
 If
 the toolbar would be hidden, the window would probably fit, but of course
 hiding the toolbar by default is not a good solution. As far as I can see,
 the
 icons are as small as possible, already, and turning off the text labels
 would
 save width, but not height.



 a print scrren of my problem. Basically, just plotting on rkward
 0.4.5-test5 (KDE 4.4.2), I can/t see the xlab, nor am I able to resize
 the window,as the lower right part is not accessible. But maybe I am
 just stupid and there is an obvious way to solve this in general?


 Well, the size of the plot window can be controlled in R. See ?x11. To use a
 smaller size by default, you can run
X11.options (width=5, height=5)
 (width and height need to be specified in inches). I suppose we could offer
 a
 graphical option for this in the settings, but it's a bit tricky, since it
 will need some platform-specific code. So not before 0.5.4 is released, at
 least.


 oh that's a pitty! I tried on my laptop with newest version (Ubuntu 10.4,and
 rkward 4.4.2) , and the problem is still there! Would be great if this could
 avoided in next release (just by default reduce window size?) as this
 correspond in some way for me to a regression in rkward features!

 thanks!

 mat

I see that Thomas has added a new settings in Configure  Onscreen
device. Can you try the svn code if it helps?

@ Thomas: the width and height are declared as 'int'. By choice? I
don't mind it, I am just curious.


-- 
Prasenjit

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-14 Thread Thomas Friedrichsmeier
Hi,

On Tuesday 14 September 2010, Prasenjit Kapat wrote:
 I see that Thomas has added a new settings in Configure  Onscreen
 device. Can you try the svn code if it helps?

I've also added a bit of logic that tries to detect when the window is too 
large to fit on screen, and points to the settings in this case. This should be 
available in the next daily builds. Perhaps you can give that a try, to see 
whether the message is shown for you (and of course whether the new settings 
work for you).

Making the windows smaller by default is not really a satisfying alternative. 
Whether the window is too large or too small depends on a lot of factors, 
including your screen resolution, what the X-server believes to be the 
physical size of your display, and user settings such as the location and size 
of your task bar, etc. So what's too large for you is just right for another, 
and already too small for a third user. And the more we shrink the window by 
default (at least in width), the more likely we are to run into problems with 
some of the toolbar icons dropping off to the right, on other users screens.
 
 @ Thomas: the width and height are declared as 'int'. By choice? I
 don't mind it, I am just curious.

I simply didn't think about it. Changed in SVN.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-13 Thread mat

Le 09. 09. 10 15:25, Thomas Friedrichsmeier a écrit :

On Thursday 09 September 2010, Matthieu Stigler wrote:
   

please find in:
/home/fao/Dropbox/Public/CaptureRkwardPlot.png
 

For reference for others, here's the public url:
http://dl.dropbox.com/u/6113358/CaptureRkwardPlot.png

Ok, so the plot window is too high to fit into the available space at all. If
the toolbar would be hidden, the window would probably fit, but of course
hiding the toolbar by default is not a good solution. As far as I can see, the
icons are as small as possible, already, and turning off the text labels would
save width, but not height.

   

a print scrren of my problem. Basically, just plotting on rkward
0.4.5-test5 (KDE 4.4.2), I can/t see the xlab, nor am I able to resize
the window,as the lower right part is not accessible. But maybe I am
just stupid and there is an obvious way to solve this in general?
 

Well, the size of the plot window can be controlled in R. See ?x11. To use a
smaller size by default, you can run
X11.options (width=5, height=5)
(width and height need to be specified in inches). I suppose we could offer a
graphical option for this in the settings, but it's a bit tricky, since it
will need some platform-specific code. So not before 0.5.4 is released, at
least.
   
oh that's a pitty! I tried on my laptop with newest version (Ubuntu 
10.4,and rkward 4.4.2) , and the problem is still there! Would be great 
if this could avoided in next release (just by default reduce window 
size?) as this correspond in some way for me to a regression in rkward 
features!


thanks!

mat

Regards
Thomas
   



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel
   


--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-11 Thread Prasenjit Kapat
On Wed, Sep 8, 2010 at 2:28 PM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:

 One thing I note is that the toolbar does not appear to remember a changed
 icon-size setting. I'll have to look into it.

Toolbar on the device window... Yeah, the settings are lost...

-- 
Prasenjit

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-09 Thread Matthieu Stigler

please find in:
/home/fao/Dropbox/Public/CaptureRkwardPlot.png

a print scrren of my problem. Basically, just plotting on rkward 
0.4.5-test5 (KDE 4.4.2), I can/t see the xlab, nor am I able to resize 
the window,as the lower right part is not accessible. But maybe I am 
just stupid and there is an obvious way to solve this in general?


Thanks!

Le 08. 09. 10 16:28, Thomas Friedrichsmeier a écrit :

On Wednesday 08 September 2010, Matthieu Stigler wrote:
   

Which arrow button do you mean sorry? If it is the usual upper right, it
does not help, as it simply extend the window but still I can't see the
bottom of window
 

For clarity, I'm attaching a screenshot. This is what I get for
plot (1, 1)
with no previous device window opened. At the right of the toolbar, there is a
small arrow. Clicking it reveals the Remove current plot button.

Could you give some more detail on what this looks like for you? Does the
window go off the screen to the right, to the bottom, or both? Is the window
too large to fit on screen at all, or is it placed too far to the right/bottom,
or both?

One thing I note is that the toolbar does not appear to remember a changed
icon-size setting. I'll have to look into it.

   

What is the active supposed to do? Without knowing much of the plugin,
I would personally rather remove duplicate rather than previous/next, I
like it pretty much!
 

Well, activate might indeed be a candidate for removal from the default
toolbar, too, assuming that most users will work with a single window most of
the time. What it does is set the device as active, i.e. subsequent plot calls
affect this device. See ?dev.set.

   

Concerning changing button size, I feel in any case something should be
done on windows... I had tried the win version and from the main
interface the buttons execute line/selection/whole were not available
directly, which is quite annoying!
 

Probably this is not really windows-specific, but a lot of parameters affect the
size of each button on the toolbar, and screen resolution differs, too. This
makes it pretty much impossible to predict just how much will fit on the
toolbar.

Of course it may be a good idea to trim down the number of buttons that are on
the main window toolbar by default. Does anybody use the Previous
Window/Next Window buttons?

Regards
Thomas
   



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel
   


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-08 Thread Thomas Friedrichsmeier
On Tuesday 07 September 2010, Prasenjit Kapat wrote:
 Just a thought: can we make the toolbar configurable? User's can keep
 whichever they use most.

Um, yes. Settings-Configure Toolbars...

So it's really just about the defaults.

Regards
Thomas


signature.asc
Description: This is a digitally signed message part.
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-08 Thread Matthieu Stigler

Le 07. 09. 10 16:47, Thomas Friedrichsmeier a écrit :

Hi,

On Tuesday 07 September 2010, Matthieu Stigler wrote:
   

I guess since new buttons have been added to the toolbar of the plot
window,  it comes on the screen too big, so that the lower right part is
not on the screen and I can't reach it. I'm then not able to resize it
as I want... Do you see this too? maybe it would be more comfortable if
it comes with smaller size by default?
 

which version of KDE is that? Here (with KDE 4.4.4), the toolbar shows a small
arrow button in case it does not fit, instead of forcing the window to become
larger.
   

I have Ubuntu 10.4 with KDE 4.4.2

Which arrow button do you mean sorry? If it is the usual upper right, it 
does not help, as it simply extend the window but still I can't see the 
bottom of window

Either way, we should probably save some more space on the toolbar. I'm not
really comfortable with changing the default icon size, since this is based on
the global user setting. So should we remove some more buttons by default? I
think Duplicate is one candidate for removal. Perhaps we could also remove
the Previous/Next buttons, now that there is the drop-down button?
   
What is the active supposed to do? Without knowing much of the plugin, 
I would personally rather remove duplicate rather than previous/next, I 
like it pretty much!


Concerning changing button size, I feel in any case something should be 
done on windows... I had tried the win version and from the main 
interface the buttons execute line/selection/whole were not available 
directly, which is quite annoying!

Regards
Thomas
   



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd


___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel
   


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-08 Thread Thomas Friedrichsmeier
On Wednesday 08 September 2010, Matthieu Stigler wrote:
 Which arrow button do you mean sorry? If it is the usual upper right, it
 does not help, as it simply extend the window but still I can't see the
 bottom of window

For clarity, I'm attaching a screenshot. This is what I get for
   plot (1, 1)
with no previous device window opened. At the right of the toolbar, there is a 
small arrow. Clicking it reveals the Remove current plot button.

Could you give some more detail on what this looks like for you? Does the 
window go off the screen to the right, to the bottom, or both? Is the window 
too large to fit on screen at all, or is it placed too far to the right/bottom, 
or both?

One thing I note is that the toolbar does not appear to remember a changed 
icon-size setting. I'll have to look into it.
 
 What is the active supposed to do? Without knowing much of the plugin,
 I would personally rather remove duplicate rather than previous/next, I
 like it pretty much!

Well, activate might indeed be a candidate for removal from the default 
toolbar, too, assuming that most users will work with a single window most of 
the time. What it does is set the device as active, i.e. subsequent plot calls 
affect this device. See ?dev.set.

 Concerning changing button size, I feel in any case something should be
 done on windows... I had tried the win version and from the main
 interface the buttons execute line/selection/whole were not available
 directly, which is quite annoying!

Probably this is not really windows-specific, but a lot of parameters affect 
the 
size of each button on the toolbar, and screen resolution differs, too. This 
makes it pretty much impossible to predict just how much will fit on the 
toolbar.

Of course it may be a good idea to trim down the number of buttons that are on 
the main window toolbar by default. Does anybody use the Previous 
Window/Next Window buttons?

Regards
Thomas
attachment: device_window.png

signature.asc
Description: This is a digitally signed message part.
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel


Re: [rkward-devel] Snapshot 7 sep: new plot window too big

2010-09-08 Thread Prasenjit Kapat
On Wed, Sep 8, 2010 at 7:05 AM, Thomas Friedrichsmeier
thomas.friedrichsme...@ruhr-uni-bochum.de wrote:
 On Tuesday 07 September 2010, Prasenjit Kapat wrote:
 Just a thought: can we make the toolbar configurable? User's can keep
 whichever they use most.

 Um, yes. Settings-Configure Toolbars...

Ah, never realized there was a Settings there! Sorry.

 So it's really just about the defaults.

Right.
-- 
Prasenjit

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel