- 03 Jun, 2017 6 commits
-
-
Matthias Clasen authored
This is using the fuzzy search code from libdazzle.
-
Matthias Clasen authored
Otherwise things will not work in a release tarball.
-
Matthias Clasen authored
These have appeared recently.
-
Matthias Clasen authored
Use 48x48 in the list, instead of 32x32. We have the space.
-
Matthias Clasen authored
This makes it more obvious how to use the icon.
-
Matthias Clasen authored
Instead of hardcoding all the add_icon calls, read the icon list from a keyfile, for easier extensibility.
-
- 02 Jun, 2017 8 commits
-
-
It was only testing the default configuration, where overlay scrolling is on and both scrollbars use POLICY_AUTOMATIC. We should also test the other 3 configurations that are available by including non-overlay scrollbars and/or those that use POLICY_ALWAYS. https://bugzilla.gnome.org/show_bug.cgi?id=778853
-
POLICY_AUTOMATIC means scrollbars are only shown when needed, i.e. when the size of the window is not large enough to show the entire child. So when measuring the preferred size, such scrollbars should be ignored. But measure() added size for *any* non-overlay scrollbar of the opposite orientation, e.g. for horizontal size, it added the width of vscrollbar. So we requested for child + bar, & having enough for child meant that the policy hid the bar, leaving extra space empty below/right of the child. Fix this by only adding size for such bars if they use POLICY_ALWAYS. https://bugzilla.gnome.org/show_bug.cgi?id=778853
-
Make sure indicator->conceil_timer is actually set before trying to remove it.
-
Under Wayland, when multiple keys are pressed and the user releases a key, key repeat should continue unless the key released is the one currently repeating. In the case of: - key1 press - key1 repeat - key2 press -> key1 repeat stopped - key2 repeat - key2 release The behavior should be to cancel keyboard repeat, though key1 is still held down. This is consistent with prior X11/XWayland behavior. The following also must work: - key1 press - key2 press - key2 release - key2 press - key1 release - key2 should continue to repeat The fix for bug #778019 should continue to work: - key1 press - key1 repeat - key2 press -> key1 repeat stopped - key1 release - key2 should repeat The choice to change the counter nkeys to the flag repeat_active helps to solve the second test case. https://bugzilla.gnome.org/show_bug.cgi?id=781285
-
Olivier Fourdan authored
begin_resize_drag() and begin_move_drag() check for xdg_surface being not null, but those apply on xdg_toplevel so they should check for xdg_toplevel being non-null instead. https://bugzilla.gnome.org/show_bug.cgi?id=781945
-
Olivier Fourdan authored
When an event is received while a tooltip is showing, the GtkTooltip's event handling code can end up calling gdk_window_set_transient_for() from gtk_tooltip_set_last_window(). The Wayland GDK backend will try to automatically create a subsurface in gdk_wayland_window_set_transient_for() but if the parent surface is gone meanwhile, this will will cause a crash when trying to create a subsurface from a parent with a null surface. Checking for the parent is not sufficient, we ought to check for the parent surface as well to avoid the crash. https://bugzilla.gnome.org/show_bug.cgi?id=782283
-
Olivier Fourdan authored
Applications can specify the type hint as utility even on toplevel windows. When that toplevel is also marked as a transient for another window, GDK Wayland backend would translate that as an xdg_popup which is not appropriate. While utility temp windows should remain mapped as subsurfaces (such as the ones used by treeviews), regular windows should not translate as neither a subsurface nor an xdg_popup. https://bugzilla.gnome.org/show_bug.cgi?id=781945
-
Christoph Reiter authored
The code used SIGDN_URL to get an URL for the selected item, but Windows URLs are a mix of unicode and percent encoded characters in the locale encoding and not something GFile can understand. The result is a garbage file path. Instead use SIGDN_FILESYSPATH to get a real file path if available. Also checks the return value of g_utf16_to_utf8 because file paths on Windows can contain lone surrogates which would make the conversion fail. https://bugzilla.gnome.org/show_bug.cgi?id=783347
-
- 01 Jun, 2017 1 commit
-
-
Matthias Clasen authored
Rewrite this example to have better drag highlighting.
-
- 31 May, 2017 5 commits
-
-
Daniel Boles authored
Another selector forces round corners for headerbars in a stack, and it has higher priority than the selector covering the non-stack case from commit 712a8adb. Totem’s MainToolbar happens to be in a stack, and we should maintain symmetry here anyway. So, as window classes .maximized and .tiled are excluded from this other selector, the newly handled .fullscreen case must be excluded here also. https://bugzilla.gnome.org/show_bug.cgi?id=770513
-
Daniel Boles authored
-
Daniel Boles authored
Make parse-sass.sh use sassc instead of the old Ruby method.
-
Daniel Boles authored
-
Totem uses a fullscreen window with a headerbar at the top, and without this change, that headerbar has rounded corners, which look different from a maximised window and let video content show through beneath. https://bugzilla.gnome.org/show_bug.cgi?id=770513
-
- 30 May, 2017 2 commits
-
-
Aurimas Černius authored
-
Debarshi Ray authored
There is no need to have every application log a warning when the Wayland display server goes away, and we are using _exit instead of exit elsewhere. This is also what the X11 backend does (see gdk_x_io_error). https://bugzilla.gnome.org/show_bug.cgi?id=745289
-
- 27 May, 2017 1 commit
-
-
- 25 May, 2017 1 commit
-
-
Debarshi Ray authored
Aborting the application makes it look like an application bug, when it is the expected thing to do when the Wayland display server goes way. eg., when the user logs out. The log level is also demoted to avoid a storm of warnings in the log from all applications whenever this happens. This is also what the X11 backend does (see gdk_x_io_error). https://bugzilla.gnome.org/show_bug.cgi?id=783047
-
- 23 May, 2017 3 commits
-
-
Emmanuele Bassi authored
The GTK_TEXT_WINDOW_PRIVATE enumeration value is really *not* private. Internally, it's used as a simple "invalid value" marker, and application and library developers are supposed to use it as such in their own code. Let's just document it, and since the GtkTextView documentation and internals go a long way to state the fact that it should not be used as an argument value, let's add some pre-condition checks as well. This commit fixes GtkSourceView's use of GTK_TEXT_WINDOW_PRIVATE as default value for a GObject property that was broken by the change in glib-mkenums to honor the `/*< public >*/` and `/*< private >*/` trigraphs.
-
Jonas Ådahl authored
Add a test for exporting a handle. There are no GTK+ API for this, but only per backend GDK API, and so far only Wayland is supported. There is a private GdkWindow API but it's not exposed externally. https://bugzilla.gnome.org/show_bug.cgi?id=782325
-
Jonas Ådahl authored
Allow getting the same export handle multiple times by calling gdk_wayland_window_export_handle() multiple times. For each time export() is called, a unexport() must be called to unexport. When the window is already exported, the exported callback is called via a idle handler. If there are multiple export() calls, they are invoked in order either when the handle is received by the display server, or when the idle callback is invoked. Calling unexport() will not affect future invokations of the exported callback, unless all export() calls have their unexport() call count matched. https://bugzilla.gnome.org/show_bug.cgi?id=782325
-
- 22 May, 2017 13 commits
-
-
Creating with `gtk_popover_new_from_model` should be exactly the same as if via `gtk_popover_new` plus `gtk_popover_bind_model`. Also remove the style if the model is unbound at any point.
-
We don't use adjusted_allocation after this line.
-
This is a GtkApplication so it will do the right thing when closing the window.
-
It holds all the HAVE_<func> definitions.
-
We never read the value we assign here.
-
we assign a new mount operation a few lines later again.
-
Could result in a division by zero later on and doesn't make a lot of sense anyway.
-
The minimum and natural pointers passed to measure are never NULL and that's the only place where we call gtk_grid_get_size_for_size.
-
The rect parameter in gtk_gesture_multi_press_set_area is annotated as nullable and the code handles the rect==NULL case, but the g_return_if_fail kept that case from ever happening.
-
-
_gtk_search_engine_new never returns NULL, it always returns a valid GObject with at least the simple search engine initialized.
-
Nice try, but size groups don't work with invisible widgets anyway. Invisible widgets request 0×0.
-
We never pass nullable pointers into get_size_for_allocation.
-