[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: pretty, pretty font



hi,

possible this will help you understanding the bug (or not). Try the following. Create a diagram, with at least three objects. Don't care the type, but they need to have some kind of text in it. Even simple text-objects would work. Arrange two of the objects upon another. Only a little bit. Now select one of the two arranged object, deselect it and then open the right-click popup-menu over the previously non-selected object. -> The font is going creepy. The vertical order isn't relevant at all. It also works with both objects. Select one of them -> deselect it -> and then hide the other with the right-button popup-menu. this doesn't work if the objects don't overlap one another.

Now try this ... . Drag the third object slowly from the bottom of one of the other object to it's top. Even if the third object is actually behind the other objects the font is badly redrawn. Seems like there's a bad offset anywhere.

hmm ... seems that the popup-menu story works even with any kind of overlapping movment, regardsless the moving object is over, or under the other object.

hope i could help fo find this bastard. ;)

regards, Stefan Bolus

Tom Kast wrote:

while bugzilla is down 8-|...

...re: [Bug 168638] UML Class Goes Bold:
http://bugzilla.gnome.org/show_bug.cgi?id=168638

"Version details: 0.94 also has bug
Distribution/Version: Fedora Core 3
In a UML class diagram, sometimes when you select a new class from the
tablet, a previously-added class in the diagram goes bold in the font
(class name).  It goes back to normal if you left click on it.  Why is
it going bold in the first place?  How does selecting it fix it?"

...btw, getting the latest checkout of
gtk/glib/glitz/pango/cairo/libpixman et.al. did not effect this bug
(168638) in any way....  a good thing i'd say...

the fix (below) is just to update the respective rect's for all of a
diagrams'/layers' objects a bit more than the existing application
flow does.

anyone worried about dia performance if I tuck a call to someting like
the this in disp_callbacks.c:display_canvas_events() for a right
event?

GList *gl;
GList *list_item;
DiaObject *obj;
Layer *lay;
lay = ddisp->diagram->data->active_layer;
gl = lay->objects;
for (list_item = g_list_last(gl);
list_item != NULL;
list_item = g_list_previous(list_item)){
 obj = (DiaObject*)list_item->data;
 printf("\n*doing an update on: %s\n", obj->type->name);
 diagram_add_update(ddisp->diagram, &objx->bounding_box);
}

as a new guy, i just wanted to say that i really love this project and
all of the awesome libraries that you have incorporated into this
project...  ...in awe...

tk
_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK