Support

Akeeba Ticket System

#37762 Search Description blocks text field when creating a ticket on behalf of another user

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.2.2
PHP version
8.0.21
Akeeba Ticket System version
5.1.1-dev202209081301-rev4daeb

Latest post by [email protected] on Wednesday, 21 September 2022 08:56 CDT

[email protected]

Hello,

I believe I have found another issue on our development build.Β 

When attempting to create a ticket on behalf of another user, the Search Description pop up blocks the text field and prevents viewing of the text that is being typed.Β 

Please see this short screencast for further information:

https://watch.screencastify.com/v/8n6XPV8rO9FPq50wenVZ

Thanks in advance for your support!

Eric Johnson

Β 

nicholas
Akeeba Staff
Manager

Go to the backend of your site. Go to Content, Articles and add a new article. When you try to assign an author, do you get the same behaviour in the modal?

The reason I am asking is that the page you are seeing is Joomla's administrator/components/com_users/tmpl/users/modal.php view template. We have not written our own user selector, we are using Joomla's core view template. The thing is, your problem is with the title attribute. However, the title attribute is displayed by the browser only when you are hovering over the field. What happens if you click on the field (to give it keyboard focus) and move your mouse just a little bit further away so it's out of the field and the title?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]

Nicholas,

I have just tried creating a new article and assigning it to another user. See screenshot below "new-article"

From the screenshot, you will see that this feature works as expected. One observation is that the pop-up is sized different and has a black background with white text.

The second screenshot is from Select User on an new ticket. As you can see from the screenshot, "assign-ticket" the pop-up has a white background and black text. In addition it is sized much smaller requiring scrolling to see the first row.

Thanks for checking into this.

Eric Johnson

nicholas
Akeeba Staff
Manager

The colour scheme is irrelevant β€” it depends on the template. The only thing that's actually relevant is the height of the popup. We do use Joomla's own modal popup code which uses Bootstrap 5. There seems to be a bug in that code, though. If the IFRAME to be displayed takes more than about half a second to load the height becomes minimal.

Here's how it SHOULD look:

screenshot_2022-09-21_at_15.28.53.png

I will see if we can address that. If not, we will have to remove the feature to file tickets on behalf of another user from the frontend of ATS.

(In the previous version of ATS we were using our own modal JavaScript. This will not work with the new component which is written with core Joomla 4 MVC and uses neither our backend nor our frontend framework.)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager

I was able to coax Joomla's modal to display at the right size all the time (and hope that nobody is going to use it at a viewport size with a height smaller than 500px which is already ridiculously short to be usable anyway).

Dev release:       Version 5.1.1-dev202209211247-rev7a33f72a    

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]

Nicholas,

Oh boy...thank you! For us having that ability to assign tickets to other users from the front end is critical.

I will install this release and continue testing.

Thanks,

Eric

[email protected]

Nicholas,

Good news/Bad News update.

1.) The sizing of the box is more useable.Β 

2.) The description pop up is still present.

See screenshot....

Thanks,

Eric

nicholas
Akeeba Staff
Manager

The popup will never go away but its placement is something I can neither reproduce nor solve.

I've tried Chrome on various platforms (macOS, Win11) but the popup displays correctly, below the search box. Same Joomla and PHP versions, too.

I cannot remove it or change how it behaves because the popup is added by core Joomla code six levels removed from our code (yeah...) and it's rendered by Bootstrap 5 which is provided by Joomla.

I suspect that your template may have a CSS rule which is pushing the popup up. I would suggest to target it with a custom CSS rule of your own to make it disappear completely.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]

Nicholas,

Thanks for investigating and providing a fix. I will dig into the CSS further. At this point, the pop-up is really an annoyance and not a core issue.

Much appreciated!

Eric

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!