View previous topic :: View next topic |
Author |
Message |
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Wed Sep 25, 2024 3:52 am Post subject: Comment lines in the "Functions" tab (RMDU) |
|
|
If I insert a blank line in the list of functions in the "Functions" tab, the blank line is saved in the RMDU file, and displayed when the file is reloaded. Blank lines are useful for grouping functions that are related in some way. However...
It would be even more useful if I could add some comment text that explains the significance of the grouping. But if I add some text in the "Notes" column, that line is discarded when the file saved, and so is absent when the file is reloaded.
Would it be possible to retain the line even if the "Notes" column is not blank? Thank you.
-- from CyberSimian in the UK |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Wed Sep 25, 2024 6:59 am Post subject: |
|
|
If you enter a function name that consists only of spaces, then it still looks blank but it keeps the notes you enter. At least, that worked for me when I just tried it. Let me know if that works for you and solves your problem. _________________ Graham |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Wed Sep 25, 2024 8:47 am Post subject: |
|
|
Now I am confused.
I have just tried adding a blank line, not typing anything into it, and saving the definition to disk. Contrary to what I said previously, on reloading the definition into the editor, the blank line is missing.
I then tried adding the blank line and typing blanks into the "Name" column, saving and reloading the definition, and the blank line is still missing.
Is there some special magic needed to get this to work?
Even if there is a sequence of actions that will cause the blank line to be retained (with or without comments in the "Notes" column), I regret to say that I don't think that typing blanks into a blank field is the best way to achieve the desired outcome.
EDIT: Sorry, but I forgot to mention that I am using RMIR 3.1.2 with Java 14.0.2 on Windows 10 64 bit with all maintenance applied.
-- from CyberSimian in the UK |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Wed Sep 25, 2024 10:17 am Post subject: |
|
|
I will look into this further. FYI your setup is identical to mine. _________________ Graham |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21510 Location: Chicago, IL |
Posted: Wed Sep 25, 2024 2:00 pm Post subject: |
|
|
Is this what you're trying to do? I just entered these in RM and saved the file, then I loaded some other file, then I re-loaded this file and they're still there. The main thing that I did, per Graham's post, which wasn't clear from your post, is to actually type some spaces in the Function Name column.
Here's my RM file:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26965
_________________ Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help! |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Thu Sep 26, 2024 5:07 am Post subject: |
|
|
The Robman wrote: | Is this what you're trying to do? |
Yes, that is what I am trying to do.
I have just tried different combinations of actions, but I cannot reproduce your result, even when I type blanks into the "Name" column. Puzzled.
-- from CyberSimian in the UK |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Thu Sep 26, 2024 5:22 am Post subject: |
|
|
I have just manually edited the RMDU file; I added the following line:
Function.53.name=
and deleted the existing lines for function 53.
On reloading the RMDU file into the editor, it does indeed show a blank line at the expected position. So the capability is partly supported, but the method by which the RMDU editor can be used to achieve this result seems a trifle confused at the moment.
-- from CyberSimian in the UK |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Thu Sep 26, 2024 7:39 am Post subject: |
|
|
Well, this is very strange:
- Using RMIR 2.14.15, my RMDU file can be edited normally.
- Using RMIR 3.1.2, drag & drop does not work on the "Buttons" and "Layout" tabs in RMDU.
I have put my RMDU file here:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=26966
Perhaps there is something wrong with this file?
-- from CyberSimian in the UK |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Thu Sep 26, 2024 8:09 am Post subject: |
|
|
Thank you for posting your rmdu file. The issues appear to be present only for XSight and similar remotes, which is why neither Rob nor I could reproduce them. Now I realise this, I will try to fix them. _________________ Graham |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Tue Oct 01, 2024 12:29 pm Post subject: |
|
|
I have posted development build RMIR v3.1.3 in the RMIR Development folder on SourceForge. I believe this has fixed all the issues that CyberSimian has identified, together with one that I found during testing.
Here is what I have found:
1. The failure to keep blank lines in the Functions panel when saving a device upgrade was specific to device upgrades for XSight remotes. It was not a bug, as I found that the source code included a comment "For XSight remotes, do not store functions with no hex data". I believe this was required at that time to prevent RMIR from crashing, but that the restructuring introduced in v3.0 made this redundant. I have removed this constraint and my testing has not shown any problem. If you find any issue still present, please report it.
2. The failure of drag-and-drop was specific to device upgrades for XSight remotes being edited in RMDU. This worked in RMIR. As far as I can tell, I have now fixed this.
3. In testing these fixes, I found that when scaling was used (scaling = 1.5 in my tests), the tooltips in the Available Functions sub-panel within the Buttons and Layout panels were truncated, particularly when using RMDU. I have had great difficulty in tracing the reason for this, which is why it has taken so long to issue this development build, but I believe I have now fixed it.
If any issues are still present with these fixes, or if any further problems come to light, please report them. _________________ Graham |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Wed Oct 02, 2024 11:46 am Post subject: |
|
|
Thank you Graham for fixing the problems.
I will download the new release and test the fixes.
-- from CyberSimian in the UK |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Wed Oct 02, 2024 2:07 pm Post subject: |
|
|
I have now tested 3.1.3 with respect to the problems described previously. Some comments:
(1) Drag & drop in the "Buttons" and "Layout" tabs now work correctly for the Xsight Color.
(2) Blank lines can be added to the "Functions" tab, and these are saved to disk and displayed when the file is reloaded. It is not necessary to type blanks into a blank field (good!).
(3) Comments entered into the "Notes" column in a blank line are saved to disk and displayed when the file is reloaded.
Some comments relating to other things:
(4) Hover help text is truncated on my system. This may be dependent on the text sizes that I use on my system. On the invocation of Java I use this option:
-Dsun.java2d.uiScale=175%
and my Windows text size is also set to 175% (on a 1920x1080 screen).
(5) The behaviour of the scroll wheel on my mouse is inconsistent on the "Buttons" and "Layout" tabs.
On the left side of the panel, the scroll wheel behaves "normally". It looks as though it is scrolling by three lines for each notch on the scroll wheel (which I think is the default Windows or Firefox setting).
On the right side of the panel, the scroll wheel is very slow, scrolling by considerably less than three lines for each notch on the scroll wheel.
(6) On my system there is sometimes a long wait when I click the "Open" button. By long wait I mean 30-40 seconds before anything happens. This long wait occurs only for the first open in an RMIR session; subsequent opens are normal speed. My disk is a SATA SSD, and the CPU is an Intel i7-10875H.
I should probably mention that I shutdown my system only infrequently. My habit is to hibernate the system, but I don't usually leave RMIR running (i.e. I exit RMIR before I hibernate the system).
-- from CyberSimian in the UK |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Thu Oct 03, 2024 3:55 am Post subject: |
|
|
I have put some examples of the truncated hover help on my web site:
-- from CyberSimian in the UK |
|
Back to top |
|
|
mathdon Expert
Joined: 22 Jul 2008 Posts: 4593 Location: Cambridge, UK |
Posted: Fri Oct 04, 2024 12:40 pm Post subject: |
|
|
Thank you for confirming that issues 1, 2 and 3 have been fixed. Here is the situation on your new issues 4, 5 and 6.
4. Thank you for identifying that the tooptip truncation problem on scaling is more widespread than I had realised. I have fixed that on all the many cases that I have identified. If you or anyone else finds further cases, please report them. Unfortunately each affected tooltip has to be modified separately, so I could easily have missed some.
5. I had not noticed this behaviour but I agree that it is undesirable and believe that I have fixed it. The scroll rate with the wheel should now be substantially greater on both the Buttons and Layout tabs. It is greater on the Buttons tab than the Layout one for reasons that are unclear. but both are considerably improved.
6. This is a Windows issue that is outside the scope of RMIR, so I cannot do anything about it.
I see from your issue 4 that you do not seem to be using Setup.vbs, as the Java option -Dsun.java2d.uiScale=175% is now deprecated. The shortcuts created by Setup.vbs now use the RemoteMaster.java option -scaling 1.75. I recommend you change to use this option. See the announcement of RMIR v3.1 for more information.
The new fixes are in development build RMIR v3.1.4 in the RMIR Development folder on SourceForge.
Edit: I have corrected the syntax for the scaling option from -scaling=1.75, replacing the equals by a space. _________________ Graham
Last edited by mathdon on Tue Oct 08, 2024 3:54 am; edited 1 time in total |
|
Back to top |
|
|
CyberSimian
Joined: 24 Oct 2013 Posts: 84 Location: Southampton, UK |
Posted: Sat Oct 05, 2024 6:58 am Post subject: |
|
|
Thank you for implementing the further changes. Some comments:
(1) The scrolling of the right side of the "Buttons" and "Layout" tabs is now much improved.
(2) On the "Buttons" tab, each notch on the mouse scroll wheel scrolls the right side of the panel by two lines, compared to three lines on the left side of the panel. However, I notice that the heights of the rows are not the same, and the height of two rows on the right equals the height of three rows on the left, so it seems that each notch on the scroll wheel is actually scrolling by the same number of pixels in each case.
(3) On the "Layout" tab, each notch scrolls by one line. This is still much better than before, but obviously different from the "Buttons" tab (as you noted). The height of the lines on the right side of "Layout" looks to be the same as the height of the lines on the right side of "Buttons", so one might expect them to scroll by the same amount.
(4) Something that I did not mention before is the scrolling of the image on the left side of the "Layout" tab. This scrolling also seems slow, and could usefully be made faster (if that is possible).
(5) I tried using the -scaling option, and eventually got it to work. I accept that this was my fault for not using "Setup.vbs" (I use my own BAT file to start RMIR). However, the built-in help could usefully be improved to indicate how the value should be specified. It is not:
-scaling=1.75
It is instead:
-scaling 1.75
The built-in help does not specify this (probably because most of the options don't have values). By built-in help, I mean the text file that is produced in response to this command:
java -jar RemoteMaster.jar -help >rmir.hlp
Once again, thank you for all of the time that you spend maintaining and improving RMIR.
-- from CyberSimian in the UK |
|
Back to top |
|
|
|