Yeah, the Sony phones do that as well. The special part of the camera button is that it acts like one on a proper camera. If you half press it (you can feel a slight change in resistance when you hit the spot) it engages the focus and then you can press it fully to take the picture.
I was able to program the Bixby button on my Samsung S10+ to take pictures as well, but it lacks the half press feature.
What do you mean with "light lines issue"? I haven't had any major problems with my Xperia so far. Sometimes it reboots after being on for a few months, but that's about it.