kgraphviewer shows a blank screen

Bug #214577 reported by ashok
18
Affects Status Importance Assigned to Milestone
kgraphviewer
Invalid
Medium
kgraphviewer-kde4 (Ubuntu)
Fix Released
Medium
Yuriy Kozlov
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kgraphviewer-kde4

When I tried to run a cluster example from graphviz.org website, kgraph comes up with a blank screen. Doesn't show any errors whatsoever. I recently updated ubuntu gutsy gibbon to hardy heron 8.04 using update manager.

TEST CASE:
1. Save http://graphviz.org/Gallery/directed/crazy.dot.txt as ~/crazy.dot
2. Install kgraphviewer-kde4 and run it.
3. Open ~/crazy.dot in kgraphviewer.
4. Without the patch, the window shows an empty gray screen. With the patch, it displays a graph as seen on http://graphviz.org/Gallery/directed/crazy.html

ashok (asoka250)
description: updated
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Thank you for filing this bug. I can confirm this on current Hardy. In the terminal output it looks like it is rendering the graph, but nothing shows up.

Changed in kgraphviewer-kde4:
status: New → Confirmed
Revision history for this message
ashok (asoka250) wrote : Re: [Bug 214577] Re: kgraphviewer shows a blank screen

Yuriy Kozlov wrote:
> Thank you for filing this bug. I can confirm this on current Hardy. In
> the terminal output it looks like it is rendering the graph, but nothing
> shows up.
>
> ** Changed in: kgraphviewer-kde4 (Ubuntu)
> Status: New => Confirmed
>
>
Hi Yuriy Kozlov,

Thank you for the response. Is the bug in kgraphviewer fixed at this
point? . What do I need to do if its fixed. I appreciate your dedication
for the open source community. I had always been a fan of open source
software.

--

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

The bug might be fixed in trunk (KDE 4.1) or it might not. If you want to try the latest code, you could find out by building the latest yourself from SVN. You should file this at bugs.kde.org so the developers of the application are more likely to look at it. Link it here ("Also affects project") if you do.

Changed in kgraphviewer:
status: Unknown → New
Changed in kgraphviewer:
status: New → In Progress
Revision history for this message
Kleag (kleag) wrote :

Hello,

I'm the author of kgraphviewer. Ashok reported the bug on bugs.kde.org and it is now fixed, but after the tagging of 4.0.4.

See https://bugs.kde.org/show_bug.cgi?id=160737

I attach the patch solving the problem.

Changed in kgraphviewer:
status: In Progress → Invalid
Revision history for this message
ashok (asoka250) wrote :

Hello Yuriy,

May I know how much time it takes to include the patch as part of Ubuntu updates. Thankx to kleag again for fixing the bug.

Changed in kgraphviewer-kde4:
assignee: nobody → yuriy-kozlov
importance: Undecided → Medium
status: Confirmed → Triaged
Changed in kgraphviewer-kde4:
status: Triaged → In Progress
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Attaching a debdiff that includes Kleag's patch. Thanks for following up on this here and providing the patch Kleag!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kgraphviewer-kde4 - 4:2.0-0ubuntu3

---------------
kgraphviewer-kde4 (4:2.0-0ubuntu3) intrepid; urgency=low

  * Added patch kubuntu_01_fix_blank_screen.diff from upstream that
    fixes a problem that causes the program to display a blank
    screen. (LP: #214577)

 -- Yuriy Kozlov <email address hidden> Wed, 14 May 2008 21:12:27 -0400

Changed in kgraphviewer-kde4:
status: In Progress → Fix Released
Revision history for this message
Jonathan Riddell (jr) wrote :

Accepted into hardy-proposed, please fix.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

TEST CASE:
1. Save http://graphviz.org/Gallery/directed/crazy.dot.txt as ~/crazy.dot
2. Install kgraphviewer-kde4 and run it.
3. Open ~/crazy.dot in kgraphviewer.
4. Without the patch, the window shows an empty gray screen. With the patch, it displays a graph as seen on http://graphviz.org/Gallery/directed/crazy.html

Revision history for this message
Jonathan Riddell (jr) wrote :

Opening with 4:2.0-0ubuntu2 just shows a grey background, with 4:2.0-0ubuntu2.1 I can see the graph.

Changed in kgraphviewer-kde4:
status: New → In Progress
Revision history for this message
flaccid (chris-xhost) wrote :

For me in both 4:2.0-0ubuntu2 and 4:2.0-0ubuntu2.1, i get an "Error!" in a popup and output like:

flaccid@lister:~$ kgraphviewer-kde4
kgraphviewer(32583) KGraphViewer::KGraphViewer: Service Registered successfuly
kgraphviewer(32583) KGraphViewer::fileOpen:
kgraphviewer(32583) KMimeTypeFactory::parseMagic: Now parsing "/usr/share/mime/magic"
kgraphviewer(32583) KMimeTypeFactory::parseMagic: Now parsing "/home/flaccid/.local/share/mime/magic"
kgraphviewer(32583) KGraphViewer::openUrl: KUrl("file:///home/flaccid/crazy.dot")
kgraphviewer(32583) kgraphviewerPart::kgraphviewerPart:
kgraphviewer(32583) DotGraphView::DotGraphView: New node pic= "/usr/lib/kde4/share/kde4/apps/kgraphviewerpart/pics/kgraphviewer-newnode.png"
kgraphviewer(32583) DotGraphView::setupPopup: DotGraphView::setupPopup
kgraphviewer(32583) DotGraphView::setupPopup: m_bevEnabledAction setting checked to : true
kgraphviewer(32583) DotGraphView::slotBevEnabled: DotGraphView::slotBevEnabled
kgraphviewer(32583) DotGraphView::slotBevEnabled: m_bevEnabledAction is checked ? true
kgraphviewer(32583) DotGraphView::updateSizes:
QObject::connect: Cannot connect DotGraphView::removeEdge(const QString&) to (null)::removeEdge(const QString&)
QObject::connect: Cannot connect DotGraphView::removeNodeNamed(const QString&) to (null)::removeNodeNamed(const QString&)
QObject::connect: Cannot connect DotGraphView::removeElement(const QString&) to (null)::removeElement(const QString&)
kgraphviewer(32583) DotGraphView::resizeEvent: resizeEvent
kgraphviewer(32583) DotGraphView::updateSizes:
kgraphviewer(32583) DotGraphView::resizeEvent: resizeEvent
kgraphviewer(32583) DotGraphView::updateSizes:
kgraphviewer(32583) kgraphviewerPart::openFile: "/home/flaccid/crazy.dot"
kgraphviewer(32583) DotGraphView::loadDot: ' "/home/flaccid/crazy.dot" '
kgraphviewer(32583) DotGraphView::loadDot: Created canvas QGraphicsScene(0x82a14d8)
kgraphviewer(32583) DotGraph::parseDot: "/home/flaccid/crazy.dot"
kgraphviewer(32583) DotGraph::parseDot: Running "dot" "/home/flaccid/crazy.dot"
kgraphviewer(32583) DotGraph::parseDot: m_dot is QObject(0x0) . Acquiring mutex
kgraphviewer(32583) DotGraph::parseDot: mutex acquired
kgraphviewer(32583) DotGraph::parseDot: process started
kgraphviewer(32583): DotGraph::slotDotRunningError 0
kgraphviewer(32583) DotGraphView::enterEvent:
kgraphviewer(32583) DotGraphView::leaveEvent: QPoint(-29,141)

Revision history for this message
Kleag (kleag) wrote :

flaccid, isn't there a more detailed error message in the dialog ? Seeing the line
kgraphviewer(32583): DotGraph::slotDotRunningError 0
it seems that it should say "Unable to start dot".

Do you have graphviz installed and the dot program in your path ?

Steve Beattie (sbeattie)
description: updated
Changed in kgraphviewer-kde4:
status: In Progress → Fix Committed
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

http://graphviz.org/Gallery/directed/crazy.dot.txt is no longer available. Is there another example to be used as test case?

Revision history for this message
ashok (asoka250) wrote :

Attached is the dot file...hope this helps...

On Tue, Aug 5, 2008 at 8:34 AM, Luca Falavigna <email address hidden> wrote:

> http://graphviz.org/Gallery/directed/crazy.dot.txt is no longer
> available. Is there another example to be used as test case?
>
> --
> kgraphviewer shows a blank screen
> https://bugs.launchpad.net/bugs/214577
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Regards,
Ashok R Varikuti
Graduate Research Assistant
CIS Dept, Kansas State University
785-304-2401.
<email address hidden>

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

I can see graph with version 4:2.0-0ubuntu2.1 from hardy-proposed. I noticed "Error!" popup too, it no longer appeared after installing graphviz. Please note I'm unable to display graph without graphviz, so it should be added to Depends or Recommends, at least on GNOME-based Ubuntu boxes (I did my tests on a clean Ubuntu Hardy box).

Revision history for this message
Martin Pitt (pitti) wrote :

It seems the reported crash is unrelated to the original bug, and there are positive test results. To put an end to this stalled SRU, I copied it to hardy-updates. Please file a new bug for the crash you reported, it's not a regression from this SRU.

Changed in kgraphviewer-kde4:
status: Fix Committed → Fix Released
Revision history for this message
ashok (asoka250) wrote : Updating my calendar

Hi

I am creating a birthday calendar of all my friends and family. Can you please click on the link below to enter your birthday for me?

http://www.birthdayalarm.com/bd2/86670517a428203554b1507465099c475590476d1386

Thanks,
Ashok

Changed in kgraphviewer:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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