Project

General

Profile

Actions

Bug #13104

closed

z-index / raiseToFront problem

Added by Lucas Adawi about 1 month ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
10/14/2024
Due date:
% Done:

100%

Estimated time:

Description

Hello,
i'm trying to use Wt with WDialog and i have a problem when trying to use the command raiseToFront();

i'm having trouble understanding why when i click the btn updatetofront1 doesn't work is this related to a known bug or i am doing something wrong(i tried using raiseToFront() before without success so i created a small project just to make it work but i'm still having trouble making it work). I can provide more information if necessary.
Thanks in advance for your anwser.


Files

Actions #1

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Tracker changed from Support to Bug
  • Status changed from New to InProgress
  • Assignee set to Matthias Van Ceulebroeck
  • Target version set to 4.11.1

Hi Lucas,

this does indeed seem to be a bug, specifically with Bootstrap 5. Any other version of Bootstrap seems to handle this correctly.
From a cursory glance this seems to be due to a change in naming for Bootstrap 5 (as apposed to previous versions) that was not correctly applied to all of Wt's logic.

Actions #2

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from InProgress to Review
  • Assignee deleted (Matthias Van Ceulebroeck)
Actions #3

Updated by Lucas Adawi about 1 month ago

Matthias Van Ceulebroeck wrote in #note-1:

Hi Lucas,

this does indeed seem to be a bug, specifically with Bootstrap 5. Any other version of Bootstrap seems to handle this correctly.
From a cursory glance this seems to be due to a change in naming for Bootstrap 5 (as apposed to previous versions) that was not correctly applied to all of Wt's logic.

Thanks a lot for anwsering, any plan to look at it or can you think of a workaround i could explore until fixed ?

Lucas.

Actions #4

Updated by Lucas Adawi about 1 month ago

Lucas Adawi wrote in #note-3:

Matthias Van Ceulebroeck wrote in #note-1:

Hi Lucas,

this does indeed seem to be a bug, specifically with Bootstrap 5. Any other version of Bootstrap seems to handle this correctly.
From a cursory glance this seems to be due to a change in naming for Bootstrap 5 (as apposed to previous versions) that was not correctly applied to all of Wt's logic.

Thanks a lot for anwsering, any plan to look at it or can you think of a workaround i could explore until fixed (i guess using bootstrap 4)?

Lucas.

Actions #5

Updated by Matthias Van Ceulebroeck about 1 month ago

Hello Lucas,

that is correct. You can use any other Bootstrap version, except 4. There never was an implementation for this in Wt, only 2, 3, and 5 are supported.

I have added this to Wt 4.11.1, and its currently under review. This means it will be available soon on the Github master (if you build from source), or in the new version once it is released. I don't have a specific date for that yet, but that shouldn't be too far away (order of a couple weeks at most).

Actions #6

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from Review to Implemented @Emweb
  • Assignee set to Matthias Van Ceulebroeck
  • % Done changed from 0 to 100
Actions #7

Updated by Matthias Van Ceulebroeck about 1 month ago

  • Status changed from Implemented @Emweb to Implemented @Test
Actions #8

Updated by Matthias Van Ceulebroeck about 1 month ago

Hey Lucas,

this fix has been pushed to the public Github, and can be found on the master branch currently. I expect to release 4.11.1 by the end of the week.

Actions #9

Updated by Lucas Adawi 28 days ago

Matthias Van Ceulebroeck wrote in #note-8:

Hey Lucas,

this fix has been pushed to the public Github, and can be found on the master branch currently. I expect to release 4.11.1 by the end of the week.

Hello thanks for the update, good luck !

Actions #10

Updated by Matthias Van Ceulebroeck 16 days ago

Hello Lucas,

Wt 4.11.1 has been released. You can verify the fix!

Actions #11

Updated by Matthias Van Ceulebroeck 16 days ago

  • Status changed from Implemented @Test to Closed
Actions

Also available in: Atom PDF