Skip to content

Improves tracking in Tedit windows, Tedit follows WHENOPERATEDONFN documentation - #2742

Merged
rmkaplan merged 4 commits into
masterfrom
rmk224--Improve-TEDIT-menus
Sep 14, 2026
Merged

rmkaplan merged 4 commits into
masterfrom
rmk224--Improve-TEDIT-menus

Conversation

@rmkaplan

Copy link
Copy Markdown
Contributor

This PR primarily has to do with image objects in Tedit, and in particular the image objects in the Tedit windows.

As the mouse tracks overs the menu with the left/middle button held down, it now moves from object to object, showing what the next state of a new object will be and restoring the existing state of the prior object in the tracking. (With the current exception that if the mouse goes over the label of a type-in field, the tracking to future objects requires another click.) Essentially, the behavior of the menu objects has been moved from the WHENOPERATEDON-SELETED protocol to the BUTTONEVENTINFN.

The WHENOPERATEDON-SELECTED has been changed to honor the documentation. Previously, it would only apply the selected function if the selection contained just a single object. Now, if an extended selection contains several objects, the function of each object is applied. Thus the selection can be rejected if any object disallows it.

@rmkaplan

Copy link
Copy Markdown
Contributor Author

Actually, I should have emphasized Tedit menu windows, that's where the testing focus should be.

@pamoroso

Copy link
Copy Markdown
Member

My initial testing on Linux Mint 22.1 Cinnamon shows no issues.

@pamoroso

Copy link
Copy Markdown
Member

Still looking good at commit 48a3775.

@pamoroso

pamoroso commented Sep 7, 2026

Copy link
Copy Markdown
Member

Nothing unusual to report at commit 02b20b4.

@fghalasz

Copy link
Copy Markdown
Member

Tested this PR relative to Issue#2734 (Notecards Document Card creation fails). This PR fixes that issue. Closing unmerged PR#2743, which had a similar fix to Issue#2734 in \TEDIT.INSTALL.PIECE.

@pamoroso pamoroso 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.

Looks good to me.

@rmkaplan
rmkaplan merged commit 6393d89 into master Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants