Project

General

Profile

Bug #9011

Width of drop-down lists in facebook export is not controlled

Added by Richard Wonka almost 6 years ago. Updated over 4 years ago.

Status:
Patch attached
Priority:
Low
Category:
Lighttable
Target version:
-
Start date:
10/18/2012
Due date:
% Done:

70%

Affected Version:
git development version
System:
unknown
bitness:
64-bit
hardware architecture:
amd64/x86

Description

I have some facebook albums with long names which causes the drop-down lists in the export module to expand beyond the width of the sidebar.

I guess this might be an issue beyond facebook export?

dt export sidebar bug.png - drop-down lists expand beyond the width of the sidebar. (548 KB) Richard Wonka, 10/18/2012 02:06 AM

Associated revisions

Revision c380dd9a
Added by Johannes Hanika over 5 years ago

noise profile: panasonic gx1 by richard wonka fixes #9011

History

#1 Updated by Johannes Hanika almost 6 years ago

that issue is with the fb export only, it needs to set ellipsisation on the combobox, maybe like this:

GList *renderers = gtk_cell_layout_get_cells(GTK_CELL_LAYOUT(combobox));
it = renderers;
while(it) {
GtkCellRendererText *tr = GTK_CELL_RENDERER_TEXT(it->data);
g_object_set(G_OBJECT(tr), "ellipsize", PANGO_ELLIPSIZE_MIDDLE, (char *)NULL);
it = g_list_next(it);
}
g_list_free(renderers);

or i think wrapping it into a table with only GTK_SHRINK allowed might solve it a little more elegantly (not even sure the above code works).

#2 Updated by Johannes Hanika over 5 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset darktable|commit:c380dd9ac5f3f955bf7f303b967a83587b4f8df1.

#3 Updated by Jose Carlos Garcia Sogo over 5 years ago

  • Status changed from Fixed to Patch attached
  • System set to unknown
  • % Done changed from 100 to 70

this was incorrectly fixed in git

#4 Updated by Jose Carlos Garcia Sogo over 5 years ago

  • Assignee set to Jose Carlos Garcia Sogo

#5 Updated by Simon Spannagel over 4 years ago

  • bitness set to 64-bit

Jose, any update on this?

Also available in: Atom PDF