After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143109 - fish: output window of "fish command" is not resizing according to the fish label
fish: output window of "fish command" is not resizing according to the fish l...
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: fish
2.6.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 144217 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-05-25 08:12 UTC by sumesh
Modified: 2015-03-24 13:01 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Changes made to fish.c file. The function 'display_fortune_dialog()' updated (5.48 KB, patch)
2004-05-27 09:02 UTC, tejas
none Details | Review
The patch takes care of situation where you re-name the fish and re-open using single click. (5.97 KB, patch)
2004-05-28 06:45 UTC, tejas
none Details | Review
According to the instructions given by my NOSIP mentors i sorted out all the mistakes and prepared this patch. (5.95 KB, patch)
2004-05-29 04:49 UTC, tejas
none Details | Review

Description sumesh 2004-05-25 08:12:30 UTC
1) add command "ls" to the fish applet in the panel
   1.1) right click over fish
   1.2) take preference
   1.3) type "ls" in the command to execute section
2)Enter the fish name as large as possible (>100 string length)
3)click over the fish applet button in the panel. Now the output window is 
resize to the string length.
4)again change the fish name to "sumesh" (any small string)
5)click over the fish applet button . Now the output window is not resizing. it 
remain as previous one.
6)if U logout the fish applet output window is resizing correctly.
Comment 1 sumesh 2004-05-25 08:14:44 UTC
the bugs on gnome aplet :fish
Comment 2 Kaushal Kumar 2004-05-25 08:33:52 UTC
fish is part of gnome-panel. Moving to gnome-panel.
Comment 3 tejas 2004-05-27 09:02:08 UTC
Created attachment 28075 [details] [review]
Changes made to fish.c file. The function 'display_fortune_dialog()' updated

The function 'display_fortune_dialog()' was not taking care for re-calculating
the size of applet when the fish applet is already there and we change the
name.
It was doing so only if fish applet is not there. I updated that code in that
function
Comment 4 tejas 2004-05-28 06:45:12 UTC
Created attachment 28109 [details] [review]
The patch takes care of situation where you re-name the fish and re-open using single click.

This is the tested one patch which has been prepared using all standard
convention for a patch. Because i m a newbie previously I didn`t followed
conventions and sent the patch. Sorry for that.
Comment 5 tejas 2004-05-29 04:49:16 UTC
Created attachment 28136 [details] [review]
According to the instructions given by my NOSIP mentors i sorted out all the mistakes and prepared this patch.

When fish applet is already there and we rename the fish, we have to apply the
resizing functions. This patch takes care of this.
Comment 6 Vincent Untz 2004-06-22 13:56:15 UTC
*** Bug 144217 has been marked as a duplicate of this bug. ***
Comment 7 Vincent Untz 2004-10-30 15:39:52 UTC
Thanks for the patch, but I fixed this with ellipses: "make the "Wanda says"
label ellipsized so the window doesn't grow forever when the name is long (fix
bug #143109)