Stacks applet crashes with web addresses

Bug #489458 reported by Tsu Jan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo-Dock Plug-ins
Fix Released
Low
Fabounet

Bug Description

When an Internet link is dragged and dropped into the stacks applet on the dock, Cairo-Dock crashes and restarts. This also happens when the Internet address is manually copied and pasted into the applet.

Revision history for this message
Fabounet (fabounet03) wrote :

ok thanks for the bug report !
I'll try it at home and fix it as soon as I can get this bug in real time.

Revision history for this message
Tsu Jan (tsujan2000) wrote :

The bug is fixed now. Thanks!

Changed in cairo-dock-plug-ins:
assignee: nobody → Fabounet (fabounet03)
importance: Undecided → Low
milestone: none → 2.1.1
status: New → Fix Committed
Revision history for this message
Tsu Jan (tsujan2000) wrote :

This isn't about a bug, but for Stack applet to accept "https://" too, I respectively changed line 98 in applet-stack.c and line 59 in applet-load-icons.c as follows:

if (strncmp (cContent, "http://", 7) == 0 || strncmp (cContent, "https://", 8) == 0 || strncmp (cContent, "www", 3) == 0)

if (strncmp (cContent, "http://", 7) == 0 || strncmp (cContent, "https://", 8) == 0)

I'm not a programmer but it worked.

Revision history for this message
Fabounet (fabounet03) wrote : Re: [Bug 489458] Re: Stacks applet crashes with web addresses

indeed, thanks for the patch, I integrate it :-)

2009/12/1 Tsu Jan <email address hidden>

> This isn't about a bug, but for Stack applet to accept "https://" too, I
> respectively changed line 98 in applet-stack.c and line 59 in applet-
> load-icons.c as follows:
>
>
> if (strncmp (cContent, "http://", 7) == 0 || strncmp (cContent, "https://",
> 8) == 0 || strncmp (cContent, "www", 3) == 0)
>
> if (strncmp (cContent, "http://", 7) == 0 || strncmp (cContent,
> "https://", 8) == 0)
>
>
> I'm not a programmer but it worked.
>
> --
> Stacks applet crashes with web addresses
> https://bugs.launchpad.net/bugs/489458
> You received this bug notification because you are a bug assignee.
>
> Status in Cairo-Dock : Plug-ins: Fix Committed
>
> Bug description:
> When an Internet link is dragged and dropped into the stacks applet on the
> dock, Cairo-Dock crashes and restarts. This also happens when the Internet
> address is manually copied and pasted into the applet.
>

Revision history for this message
Matthieu Baerts (matttbe) wrote :

It's integrated in rev 1438 ;)

PS: @ Tsu Jan : if you want, you can create a patch easily with bzr :
  bzr diff MY_FILE > MY_FILE.patch
  bzr diff MY_REPERTORY > MY_MODIF.patch

Fabounet (fabounet03)
Changed in cairo-dock-plug-ins:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.