In the present paper, extensive research is conducted on a 2D generalized Kadomtsev–Petviashvili (2D-gKP) equation which models water waves with long wavelengths. The study starts by establishing Hirota D-operator forms of the governing equation using the Bell polynomial method (BPM). Through checking the three-soliton condition for the 2D-gKP equation, its integrability is then examined, and as a consequence, single-, double-, and (special) triple-soliton waves are derived from the modified Hirota method. In the end, after deriving lump and breather waves of the 2D-gKP equation through ansatz methods, a theoretical discussion along with its proof is presented. Attempts have been made to elucidate the physical features of nonlinear waves by displaying such waves in 2D and 3D postures. The paper’s findings contribute certainly to research on nonlinear waves of KP-type equations.