Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 29 Jul 2010, 13:21
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Bugfix: Puppybackground
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Fri 05 Jan 2007, 12:39    Post_subject:  Bugfix: Puppybackground  

1.) fixes colorselection
2.) "fit" now scales pictures correctly

Concerning 1.)
it seems, the colordialog from xdialog-Gtk2 returns "0" instead of "00".
The Puppybackgroundsetterwrapper now takes care of this.

Concerning 2.)
This was my error, wrong variable.

Bugfix (2 files only):
http://dotpups.de/dotpups/Desktop-Tools/Puppybackgroundmenu/Puppybackground-bugfix-only.pup (15 kb)

-------------------------
I also updated the full
http://dotpups.de/dotpups/Desktop-Tools/Puppybackgroundmenu/Puppybackground.pup
including sourcecode.
ATTENTION, it overwrites roxrestart.sh.
You usually do NOT need to install this dotpup!

Mark
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 11715

PostPosted: Fri 05 Jan 2007, 13:29    Post_subject:  

Cool Thanks Mark - Artie mentioned having problems with this - went back to 2.12 - so he will be well pleased . . .
_________________
Puppy Lucid 5.1 Please test 506 Now in beta status Very Happy
Back to top
View user's profile Send_private_message Send_email Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3043
Location: Kitchener, Ontario, Canada

PostPosted: Fri 05 Jan 2007, 16:00    Post_subject:  

MU,

I don't know if it has been reported but I found another issue:

When I click on the button to set a solid colour, the colour selection window is just open while I'm pressing the button. as soon as I release the windows closes.

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Fri 05 Jan 2007, 17:08    Post_subject:  

Rarsa, I can't reproduce this.
What version (Puppy) do you have?
Does it happen too by re-installing the "full" dotpup?

Please backup your
/usr/local/Puppybackground/resource/roxrestart.sh first, as it might be different.


There also is a version using Gtk1, maybe it behaves different:

http://dotpups.de/dotpups/Desktop-Tools/Puppybackgroundmenu/Puppybackground-Gtk1.pup
It does not include the bugfix yet, so you must re-install that after it:
http://dotpups.de/dotpups/Desktop-Tools/Puppybackgroundmenu/Puppybackground-bugfix-only.pup

Mark
Back to top
View user's profile Send_private_message Visit_website 
John Doe

Joined: 01 Aug 2005
Posts: 1665
Location: Michigan, US

PostPosted: Sat 06 Jan 2007, 01:02    Post_subject:  

I Just texted the background color setter. It works now with the fix.
Back to top
View user's profile Send_private_message 
rarsa


Joined: 29 May 2005
Posts: 3043
Location: Kitchener, Ontario, Canada

PostPosted: Sat 06 Jan 2007, 15:57    Post_subject:  

MU wrote:
Rarsa, I can't reproduce this
What version (Puppy) do you have?
I've reproduced it from the 2.13 LiveCD in thwo different computers.
MU wrote:
Does it happen too by re-installing the "full" dotpup?
I will try it rightnow...

I'm back Wink

I installed the full patched version and still got the same problem.

I decided to ran it from the console and here is the result:
Code:
sh-3.00# ./Puppybackgroundmenu
sh-3.00# sh: line 1:  9887 Segmentation fault      Xdialog --colorsel "choose a solid background color." 0 0 2>/tmp/wxbxdmenu.tmp

sh-3.00#

_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Sun 07 Jan 2007, 09:26    Post_subject:  

Does Xdialog also crash running it directly from console?

Xdialog --colorsel "choose a solid background color." 0 0 2>/tmp/wxbxdmenu.tmp

Mark
Back to top
View user's profile Send_private_message Visit_website 
rarsa


Joined: 29 May 2005
Posts: 3043
Location: Kitchener, Ontario, Canada

PostPosted: Sun 07 Jan 2007, 10:36    Post_subject:  

No, running that Xdialog command directly from the console runs OK
_________________
http://rarsa.blogspot.com Covering my eclectic thoughts
http://www.kwlug.org/blog/48 Covering my Linux How-to
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Tue 23 Jan 2007, 12:15    Post_subject:  

Colorselection was reported too, here:
http://www.murga-linux.com/puppy/viewtopic.php?t=14724

Can someone attach a zipped
/usr/local/bin/xdialog from Puppy 2.13 please?
Mark
Back to top
View user's profile Send_private_message Visit_website 
Darkbee

Joined: 27 Nov 2006
Posts: 34
Location: Upstate NY, USA

PostPosted: Tue 23 Jan 2007, 12:47    Post_subject:  

Attachment deleted to save space.
Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Tue 23 Jan 2007, 13:00    Post_subject:  

yes, thanks.

Hm.. the window appears correctly.
But when I click somewhere outside the window, it crashes.
Wait, test Muppys Xdialog again... oh... same behaviour.

Ok, now I can reproduce erratic behaviour, though it is different what you and Rarsa experienced.

I will try to find a solution, may take some hours.

I'll keep you informed.
Mark
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13575
Location: Karlsruhe, Germany

PostPosted: Tue 23 Jan 2007, 13:12    Post_subject:  

ok, please try this:

open in the texteditor:


/usr/local/Puppybackground/resource/buttons1.rc

Replace line 15:
Code:
/usr/local/Puppybackground/resource/puppybackgroundsetterwrapper#-colorselect

with:
Code:
export#LANG=C&&/usr/local/Puppybackground/resource/puppybackgroundsetterwrapper#-colorselect


Does that fix it?

You can delete the Xdialog attachment from the forum now to save space, thanks.
Mark
Back to top
View user's profile Send_private_message Visit_website 
Darkbee

Joined: 27 Nov 2006
Posts: 34
Location: Upstate NY, USA

PostPosted: Wed 24 Jan 2007, 09:44    Post_subject:  

MU wrote:
ok, please try this...

Does that fix it?


Sadly, not. Crying or Very sad

BTW (and this is not aimed at Mark necessarily) I currently have a wallpaper that says 2.12 on it. Is this because I did an update rather than a fresh install or does the wallpaper need to be updated in 2.13 (wallpaper is pawrings3.jpg)?
Back to top
View user's profile Send_private_message Visit_website 
Darkbee

Joined: 27 Nov 2006
Posts: 34
Location: Upstate NY, USA

PostPosted: Fri 02 Feb 2007, 09:27    Post_subject:  

This bug seems to have mysteriously fixed itself now. I have no idea what changed, the only real thing that has changed with my system is that I uninstalled a couple of apps (one of them was OpenOffice and the other was John Murga's small Java development package).

Don't you just love these random errors.
Back to top
View user's profile Send_private_message Visit_website 
vey


Joined: 25 Aug 2006
Posts: 12
Location: Oregon, USA

PostPosted: Sun 02 Sep 2007, 05:06    Post_subject:    

MU wrote:
ok, please try this:

open in the texteditor:


/usr/local/Puppybackground/resource/buttons1.rc

Replace line 15:
Code:
/usr/local/Puppybackground/resource/puppybackgroundsetterwrapper#-colorselect

with:
Code:
export#LANG=C&&/usr/local/Puppybackground/resource/puppybackgroundsetterwrapper#-colorselect


Does that fix it?

You can delete the Xdialog attachment from the forum now to save space, thanks.
Mark



This completely fixed my ColorSelect=Crash problem in 217, Thank You Much! Very Happy

Vey
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
hot copy
[ Time: 0.2917s ][ Queries: 9 (0.0405s) ][ Debug on ]