| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
That way, local scrolling is available and the scrolling isn't random.
Recycling should now involve reordering the recycled widgets instead of
just keeping their order because all of them got recycled.
|
|
|
|
|
|
|
| |
Update all (non-deprecated) callers to use
gtk_widget_compute_point instead.
Fixes: #5697
|
|
|
|
|
|
|
| |
The GL Wayland drag surface code path has a bug where it does not reset
the hotspot, so if a GL-backed draw surface redraws without resizing or
resetting the hotspot, it moves away. The next commit will fix that, but
this commit adds a test for that.
|
|
|
|
|
| |
The test can verify that dynamic drag icon resizing and hotspot
adjustment work as intended.
|
| |
|
|
|
|
|
|
|
|
| |
We are getting into trouble here if
sincos isn't detected but still present
in headers. Avoid that.
Also fix the other copy of gtkgears.c.
|
|
|
|
|
|
|
|
| |
The design patterns using statusbar are no longer popular,
and it is pretty easy to make a statusbar yourself with boxes
and labels, if you need one. The only thing special about
GtkStatusbar was its window resize handle, but that has
been gone for a long time.
|
|
|
|
|
|
| |
The filechooser portal does not support this,
and we are defaulting to using the portal now.
Lets not offer a non-functional API.
|
|
|
|
| |
Accept both open_multiple and open-multiple.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
GtkDialog is too flexible in terms of UI (headerbars vs action bar,
etc), and has archaic APIs. It is time to retire it.
|
|
|
|
|
|
|
|
|
| |
These are being replaced by GtkFileDialog.
This commit only moves the headers for GtkFileChooserWidget and
GtkFileChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFileChooserWindow.
|
|
|
|
|
|
|
|
|
| |
It is getting replaced by GtkAlertDialog
This commit only moves the header to deprecated/,
and keeps the implementation in gtk/, since it will
eventually be salvaged into a private, dialog-free
widget.
|
|
|
|
|
|
|
|
|
|
| |
These are being replaced by GtkFontDialog
and GtkFontDialogButton
This commit only moves the headers for GtkFontChooserWidget and
GtkFontChooserDialog to deprecated/, and keeps the implementations
in gtk/, since they will eventually be salvaged into a private
GtkFontChooserWindow.
|
|
|
|
|
|
|
|
|
|
| |
These are being replaced by GtkColorDialog
and GtkColorDialogButton.
This commit only moves the headers for GtkColorChooserWidget
and GtkColorChooserDialog to deprecated/, and keeps the
implementations in gtk/, since they will eventually be
salvaged into a private GtkColorChooserWindow.
|
|
|
|
|
| |
Sadly, we can't just use an interger for a GPid on Windows, so just cast
it. Sounds silly for non-Windows, but that's life...
|
|
|
|
|
|
| |
Some of our tests use deprecated style context api.
Most of them should be ported to use global style
providers eventually. For now, ignore deprecations.
|
| |
|
|
|
|
| |
Eventually, most of these tests should be dropped.
|
| |
|
| |
|
|
|
|
|
|
| |
Without this, it is hard to trigger the
dialog. Event with this, we have to force
GtkMountOperation to use its own dialog.
|
|
|
|
|
|
| |
We want to drop cell renderers and tree models
in GTK 5. The functionality of GtkEntryCompletion
may be replaced by a new widget in GTK 5.
|
|
|
|
|
|
| |
These are a family of pretty specialized widgets, and
are very rarely used. Instead of porting them away
from GtkTreeView and GtkComboBox, deprecate them.
|
|
|
|
|
|
| |
The associated surface window handle is a HWND, not a HGDIOBJ.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
|
| |
Allow testing levels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a GtkColumnView scrolling performance test similar to the one used
previously in https://gitlab.gnome.org/GNOME/gtk/-/issues/3334.
The test creates a table with 20 columns and 10,000 rows and scrolls it
to a random position every frame, while measuring the frame times.
There is a commandline flag to pick the cell widget between none (for
benchmarking raw column view scrolling) and various label types. There
is also a commandline switch to disable automatic scrolling in case a
manual assessment is desired. Finally, there's an argument for
controlling the number of columns.
|
|
|
|
|
|
|
| |
This test is suddenly MASSIVELY faster.
I wonder why.
Could it be because inscription does exactly what it was made for?
|
|
|
|
|
| |
Not sure what changed here, but we want to
be able to build this without fontconfig too.
|
|
|
|
| |
This should help for figuring out #4325.
|
| |
|
| |
|
|
|
|
| |
This can only ever have worked by accident.
|
|
|
|
|
| |
This shows the minimal work required to hook up an
im context to a custom widget.
|
|
|
|
| |
so that dragging into the 'trashcan' is detected
|
|
|
|
|
| |
Add some toggle and check buttons to test that they
work as expected as GtkActionables.
|
|
|
|
| |
We weren't setting the state of the stateful actions.
|
|
|
|
| |
Check buttons aren't toggle buttons anymore.
|
|
|
|
|
|
|
|
| |
This is less flexible than a glob pattern, but it is
explicitly case-insensitive, to match the behavior
on Windows.
Fixes: #3705
|
|
|
|
|
|
| |
We can test internal apis in our testsuite now,
so move the text history tests there, to have them
run in ci.
|
| |
|
|
|
|
| |
This reveals some issues with scale handling.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is useful for testing the interaction of arrows, shadows
or offsets with popover positioning.
|
| |
|