it seems from the history what you have provided here, that you have undergone surgery for retinal detachment
and you have further written that macula came off, obvoiusly the visual improvement is bit difficult since retinal detachment has involved macula. you need to consult ophthalmologist
has retinal detachment can cause other complications like secondary glaucoma
which can cause painful eye. The treatment of these requires early identification and treatment, otherwise these complications can lead to painful eye. so do consult your ophthalmologist at the earliest.