-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minimized frame doesn't retain title #434
Comments
Could this be an issue with the Jide docking framework? |
Seems likely. Does MT even have code for handling hiding/minimizing of frames? Thought that was all done by JIDE. |
There may be a call into the JIDE API that allows setting the text that should appear when the panel isn't being displayed and we're probably not calling it. Or maybe when calling It does seem like something that the application should be able to specify... |
Thanks for the hint, @Azhrei. I found out in the documentation that setTabTitle(String) needs to be called separately. Should we have tabTitle as another parameter or should we have tabTitle=title everywhere? |
I'd go with making them the same. The only issue is that the "tabTitle" should probably be a much shorter string... |
- Fix: minimized frames now retain their title instead of reverting to the frame name - Add new frame parameter "tabtitle" to specify the tabbed title of a frame - HTML tag "<title>" ovverides both the title and the tabtitle - Close RPTools#434
My PR #602 implements the following behavior:
Seems to me like a reasonable compromise between simplicity and flexibility. Examples:
will have "my html title" as both title and tab title. |
Documentation added to https://lmwcs.com/rptools/wiki/frame_(roll_option) |
Tested with original macro and with new functionality. Working as described. |
Describe the bug
If a frame has a title, where the title is different from the frame id, the pinned and minimized tab name reflects the frame ID rather than the title of the frame.
To Reproduce
Expected behavior
Minimized frames will keep the same title as when they are opened.
Screenshots
![image](https://user-images.githubusercontent.com/925235/56086230-1bce9a80-5e20-11e9-929b-bd661b569e82.png)
![image](https://user-images.githubusercontent.com/925235/56086234-25f09900-5e20-11e9-8294-59b58aa40fc9.png)
![image](https://user-images.githubusercontent.com/925235/56086235-2b4de380-5e20-11e9-8aca-2672cbe76a2b.png)
MapTool Info
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: