Am Mittwoch, 7. Dezember 2016, 13:31:53 CET schrieb Timur Irikovich Davletshin: > 1. I tried both fullscreen and window modes. Small screen and big one. > 2. Like I told before, popup menu sometimes appears and sometimes (I > just noticed that) it disappears instantaneously. But most of the time > I see nothing, just right-click with no response. > 3. I don't have taskbar — Gnome Shell
They got rid of the taskbar? Why am I even surprised ... > 4. Yes, I can compile it myself. Great. Please check out the current git master sources and apply the attached patch like this: cd /path/to/git/checkout/ patch -p1 < /path/to/softproof_button.diff Then compile, install and run it. When in darkroom please right click the softproof button. It should print the functions executed on the shell. Tobias [...]
diff --git a/src/views/darkroom.c b/src/views/darkroom.c
index 3dd7e2fc8..610c8e605 100644
--- a/src/views/darkroom.c
+++ b/src/views/darkroom.c
@@ -1172,6 +1172,7 @@ static gboolean _toolbox_toggle_callback(GtkAccelGroup *accel_group, GObject *ac
/* softproof */
static void _softproof_quickbutton_clicked(GtkWidget *w, gpointer user_data)
{
+ printf("%s\n", __FUNCTION__);
dt_develop_t *d = (dt_develop_t *)user_data;
if(darktable.color_profiles->mode == DT_PROFILE_SOFTPROOF)
darktable.color_profiles->mode = DT_PROFILE_NORMAL;
@@ -1185,6 +1186,7 @@ static void _softproof_quickbutton_clicked(GtkWidget *w, gpointer user_data)
static gboolean _profile_close_popup(GtkWidget *widget, GdkEvent *event, gpointer user_data)
{
+ printf("%s\n", __FUNCTION__);
dt_develop_t *d = (dt_develop_t *)user_data;
if(!gtk_widget_is_visible(darktable.bauhaus->popup_window))
gtk_widget_hide(d->profile.floating_window);
@@ -1193,6 +1195,7 @@ static gboolean _profile_close_popup(GtkWidget *widget, GdkEvent *event, gpointe
static gboolean _softproof_show_popup(gpointer user_data)
{
+ printf("%s\n", __FUNCTION__);
dt_develop_t *d = (dt_develop_t *)user_data;
/** finally move the window next to the button */
gint x, y, wx, wy;
@@ -1219,6 +1222,7 @@ static gboolean _softproof_show_popup(gpointer user_data)
static gboolean _softproof_quickbutton_pressed(GtkWidget *widget, GdkEvent *event, gpointer user_data)
{
+ printf("%s\n", __FUNCTION__);
dt_develop_t *d = (dt_develop_t *)user_data;
GdkEventButton *e = (GdkEventButton *)event;
if(e->button == 3)
@@ -1235,6 +1239,7 @@ static gboolean _softproof_quickbutton_pressed(GtkWidget *widget, GdkEvent *even
static gboolean _profile_quickbutton_released(GtkWidget *widget, GdkEvent *event, gpointer user_data)
{
+ printf("%s\n", __FUNCTION__);
dt_develop_t *d = (dt_develop_t *)user_data;
if(d->profile.timeout > 0) g_source_remove(d->profile.timeout);
d->profile.timeout = 0;
signature.asc
Description: This is a digitally signed message part.
