Bug [#2313] Show read-only indicator in title bar.
Attached is an updated patch with your suggested change.
Bug [#2314] Fix icon showing on GTK.
I found a work around, which is to use the pop-up Find window rather than the default Find strip by setting the following in my user properties file: find.use.strip=0 replace.use.strip=0 Since I changed these properties I haven't seen this bug reoccur.
window icon not shown in linux/wayland/GTK
2313.patch works. I created an additional patch to show the read-only indicator in the window name the same as how it's shown in the buffers menu (see attached file)
read.only.indicator "|" not displayed when file opened with -read.only argument
Scroll bar stops refreshing after searching