Skip to content

Launcher and Workfiles tool use AYON UI Qt components#1879

Open
mahesh-ynput wants to merge 60 commits into
developfrom
ui-qt-luncher
Open

Launcher and Workfiles tool use AYON UI Qt components#1879
mahesh-ynput wants to merge 60 commits into
developfrom
ui-qt-luncher

Conversation

@mahesh-ynput

@mahesh-ynput mahesh-ynput commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Changelog Description

Replaced native Qt widgets with ayon-ui-qt equivalents in Launcher and Workfiles tools alone.

Additional info

Testing notes:

Test Launcher and Workfiles see replaced new UI components which matches close to web UI components

mahesh-ynput and others added 21 commits May 2, 2026 17:35
…ration

- Save dialog: Extensions combobox now uses plain=True mode rendering
  native Qt dropdown arrow instead of AYON status/pill style
- Save dialog: Cancel button changed to Surface (grey) variant; Ok
  button stays Filled (blue) — only primary action is coloured
- Save dialog: Artist note field gains focus on open so blinking
  cursor makes it visually obvious it is editable
- My tasks checkbox: replaced NiceCheckbox+QLabel with AYCheckBox to
  match the Published checkbox style consistently
- Reduce line count bloat: consolidate ayon_ui_qt per-module imports
  to single-line imports across all migrated files; remove now-
  redundant fixed_width=False and setSizePolicy boilerplate that is
  handled by ayon-ui-qt component defaults
AYComboBox now draws its own dropdown arrow — workaround no longer needed
- make Open/Browse/Save As buttons grey
- restore focus to subversion on save dialog()
- Side panel Details/Artist Note use framed form layout matching browser
- Section headers sized to match Version Info/Representations headers
- Replace artist note QPlainTextEdit with AYTextEdit
- Table headers: larger font and height to match browser table headers
- Outer window margin 8px → 16px to match browser outer margins
…ltering

- Replace TreeView/DeselectableTreeView with AYTreeView in FoldersWidget, TasksWidget, WorkfilesView
- Replace PlaceholderLineEdit with AYLineEdit in FoldersFiltersWidget
- Fix workfile selection filtering actions: guard column == 0 in _on_selection_changed
- Outer window margin and spacing to 16px to match with browser redesign
…Margins which matches original look

- Bring back set_deselectable ad Jakub mentioned this was used by other tools
- Removed setMinimumWidth for AYCheckBox and fixed root cause within AYCheckBox in ayon-ui-qt
- Hiding missed artist_note upon Published Checked
- Replaced GoToCurrentButton with AYButton for consistency
…qt-luncher

# Conflicts:
#	client/ayon_core/tools/launcher/ui/workfiles_page.py
#	client/ayon_core/tools/utils/tasks_widget.py
…nents.

- icon_definitions.
- Reverted QHeaderView default from style.css.
- hnaged ayon_ui_qt components imports style.
@ynbot ynbot added the size/M label Jun 6, 2026
@mahesh-ynput mahesh-ynput self-assigned this Jun 6, 2026
@mahesh-ynput mahesh-ynput changed the title UI qt luncher Launcher and Workfiles tool use AYON UI Qt components Jun 6, 2026
@mahesh-ynput mahesh-ynput requested review from BigRoy and iLLiCiTiT June 6, 2026 13:57
@BigRoy BigRoy changed the base branch from develop to 48-move-ayon-ui-qt-into-ayon-core June 6, 2026 21:06

@BigRoy BigRoy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Workfiles tool should not allow multiselect workfiles
  • Workfiles tool artist note text size is much smaller than the rest - let's make it same font size.
  • Workfiles tool - is date modified column smaller font size? and is it on purpose?
  • Workfiles tool - can we make the details not enforce a minimum width for the content in it. currently if you have it quite small, but select a workfile then suddenly the UI makes it wider - I want to avoid that minimum width to make the UI move around when selecting workfiles. It shouldn't jump around.
  • Workfiles tool - when there's no workfiles in work area, then the Date Modified column renders with a different background color? It should not.
  • Workfiles tool details, can we reduce the height padding/margins between each entry so that top details needs less vertical space.
  • Workfile tool details sidebar, can we make it so that the Artist Note takes up the available space if UI gets more vertical and the details at the top only ever take as much vertical space as needed
  • Workfile tool details sidebar, the "- Comment" field is useless if Published checkbox is disabled so let's remove that entry.
    • When switching to "Published" checkbox, can we make the Artist Note area especially turn into the "Comment" area and have the publish comment just displayed there (without a Save Note button of course).
  • Can we make the folders, tasks and workfiles have slightly reduced vertical margins/padding in the views. I just want to make it so you can squeeze in more info on screen - so you can see similar amount of data as before the PR. May need some input from @philippe-ynput
Image

It also has different highlight/hover colors it seems?

  • The font looks awful in Admin > Console (script editor) on Windows?

Comment thread client/ayon_core/style/style.css
Mahesh1651 and others added 4 commits June 17, 2026 18:03
…tyle/fonts and reading directly from ayon-core/client/ayon_core/ui/resources

- added ui_resources_path to __init__.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
@mahesh-ynput

Copy link
Copy Markdown
Collaborator Author

@BigRoy , Can we add new components to ui/components for case eg: b4201f4 we can add 'AYSpinBox'

337fdf4

Comment thread client/ayon_core/ui/components/combo_box.py Outdated
the duplicated functionality set_custom_delegate() wrapper from combo_box.py.
@BigRoy BigRoy added ui type: enhancement Improvement of existing functionality or minor addition labels Jun 18, 2026

@moonyuet moonyuet left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with the launcher and workfile tools too. They all work as expected(Nice job btw).
I do have several comments/suggestions.
General

  • The text style is a little bit difficult to read when comparing to the one in the develop branch. (I prefer the current text style).

The workfile tool, I have two suggestions in regards.
Image
is it intended to highlight the created date of workfile? It is perhaps a better idea not to highlight the date(But if there is any reason behind, just ignore this comment).

When opening the workfile tool from Ayon menu, opening workfile and relaunch workfile tool from ayon menu again, the Task order has been switched for some reason.
https://github.com/user-attachments/assets/912b3ce9-5f74-47ba-8961-39802a70d429

@BigRoy

BigRoy commented Jun 18, 2026

Copy link
Copy Markdown
Member

is it intended to highlight the created date of workfile? It is perhaps a better idea not to highlight the date(But if there is any reason behind, just ignore this comment).

That's a bug - it should not highlight it, it should paint the same light-blue 'active' color, not white.

The text style is a little bit difficult to read when comparing to the one in the develop branch. (I prefer the current text style).

Ah man - the font just doesn't work out nicely. Anyway, the font size should be 10.5pt for this font, and not 10pt. @mahesh-ynput still seems todo? It's also in the comment here.

Once we've done that I think I'll have a review session with Milan after annecy about the font on desktop - I'm personally rather unhappy with this font on desktop because it just doesn't render nice on Windows. But the UIs (when it does render nicely) look much more like the web UI because of the matching font and otherwise with the old font things kept looking a bit off compared to web UI.

When opening the workfile tool from Ayon menu, opening workfile and relaunch workfile tool from ayon menu again, the Task order has been switched for some reason.
github.com/user-attachments/assets/912b3ce9-5f74-47ba-8961-39802a70d429

That'd be a bug. It should currently adhere to the sorting as defined in core settings. It's either alphebatical or (task-type-anatomy-sort-order, and secondary alphabetical). See also setting ayon+settings://core/tools/general/use_task_type_sorting and #1833


  • Fix date modified highlight color (pure white?) in workfiles tool
  • Fix font size to 10.5pt for launcher + workfiles
  • Fix tasks sorting order in workfiles tool (or any task widget likely?)

Comment thread client/ayon_core/ui/ayon_style.json Outdated
@mahesh-ynput

Copy link
Copy Markdown
Collaborator Author

Fix date modified highlight color (pure white?) in workfiles tool
Fix font size to 10.5pt for launcher + workfiles

In confusion I fixed this both in here in other PR 04850c2 which targeted to current branch, Anything I should do here? @BigRoy

@BigRoy

BigRoy commented Jun 19, 2026

Copy link
Copy Markdown
Member

In confusion I fixed this both in here in other PR 04850c2 which targeted to current branch, Anything I should do here? @BigRoy

Apply the same fix in this PR I'd say. There may be a small merge conflict, but because it's the same code it should auto-resolve and if not, it's easy to resolve the conflict.

…which replaced the PrettyTimeDelegate for both files_widget_published.py and files_widget_workarea.py

- Fixed font size to 10.5pt for launcher
@mahesh-ynput

Copy link
Copy Markdown
Collaborator Author

In confusion I fixed this both in here in other PR 04850c2 which targeted to current branch, Anything I should do here? @BigRoy

Apply the same fix in this PR I'd say. There may be a small merge conflict, but because it's the same code it should auto-resolve and if not, it's easy to resolve the conflict.

Noted, 18278bf

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
@mahesh-ynput

mahesh-ynput commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator Author
  • Fix tasks sorting order in workfiles tool (or any task widget likely?)

@BigRoy , I'm seeing this behavior in latest develop branch also, So is that okay to we can fix this issue in this PR or we can have separate PR for this?

@BigRoy

BigRoy commented Jun 19, 2026

Copy link
Copy Markdown
Member
  • Fix tasks sorting order in workfiles tool (or any task widget likely?)

@BigRoy , I'm seeing this behavior in latest develop branch also, So is that okay to we can fix this issue in this PR or we can have separate PR for this?

In this case - I assume the issue isn't on the UI side but on the controller. In that case, can you make a fix for it to develop if it doesn't need to touch much of the new UIs anyway?

@moonyuet

Copy link
Copy Markdown
Member

The text becomes more readable now
image
And the "highlight color" issue from workfile tool has been fixed.
image
@BigRoy @mahesh-ynput are we gonna fix the task type in different PR? If yes, I believe this PR is good for merging

@BigRoy

BigRoy commented Jun 19, 2026

Copy link
Copy Markdown
Member

are we gonna fix the task type in different PR? If yes, I believe this PR is good for merging

Yes - Mahesh stated same issue exists in develop and the cause thus is not due to changes here.
@iLLiCiTiT can you do a review Monday? (assuming you're already done for today)

@moonyuet

moonyuet commented Jul 7, 2026

Copy link
Copy Markdown
Member

What is the status of this PR?

@BigRoy

BigRoy commented Jul 7, 2026

Copy link
Copy Markdown
Member
  1. We can't merge this before 48-move-ayon-ui-qt-into-ayon-core is merged into develop once without this.
  2. Then we can start merging this (and perhaps the browser work) and need way more thorough testing in that separate branch at that point to confirm all good to move to develop down the line.

Base automatically changed from 48-move-ayon-ui-qt-into-ayon-core to develop July 10, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M type: enhancement Improvement of existing functionality or minor addition ui

Projects

Status: Review In Progress

Development

Successfully merging this pull request may close these issues.

6 participants