e_comp_object: fix bug for intercept_resize if the win use fullscreen with transform 71/301871/1
authorDoyoun Kang <doyoun.kang@samsung.com>
Sun, 26 Nov 2023 03:37:07 +0000 (12:37 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Sun, 26 Nov 2023 04:27:25 +0000 (13:27 +0900)
There was a bug that the window wasn't shown on the screen.
The window set fullscreen and it was enabled the transform by applying the base output resolution,
then the window was not shown on the screen.

E checks the size between the zone's size and requested size in intercept resize callback.
If the size are not same, then e returns because fullscreen should be resize the zone's size.
But, in transform case, the requested size is the applied the base output resolution and it is
not same to zone's size.

So, we add code to check whether the transform is enabled or not while checking size.

Change-Id: Id8593c15b15bac9c29f5bdd220b40f0c23ea3378

src/bin/e_comp_object.c

index 73b1f42..0228fec 100644 (file)
@@ -1705,7 +1705,10 @@ _e_comp_intercept_resize(void *data, Evas_Object *obj, int w, int h)
    zone = e_comp_zone_find_by_ec(cw->ec);
    if (!zone) return;
    if (cw->ec->fullscreen && ((w != zone->w) || (h != zone->h)))
-     return;
+     {
+        if (!e_client_transform_core_enable_get(cw->ec))
+          return;
+     }
    /* calculate client size */
    iw = w - cw->client_inset.l - cw->client_inset.r;
    ih = h - cw->client_inset.t - cw->client_inset.b;